Hi Dan,
we are waiting for the a separate form or ApplyTo Option.
Thanks a lot for your great job.
Regards,
Mehran
Hi Dan,
we are waiting for the a separate form or ApplyTo Option.
Thanks a lot for your great job.
Regards,
Mehran
@stever
Do you have an example or can you elaborate on the getRawValue and beforeblur issues that you experienced - I actually haven't looked at or thought too much about getRawValue and how it should work - as this component has multiple values it's not quite the same as combo - if you (or anyone) has thoughts or suggestions, I'd appreciate hearing them.
@xantus Thanks!
Mehran Can you please provide additional info about what you mean?
Is applyTo really what you are looking for, and if so, what structure would you expect to see in the dom to apply the component to?
Or would you be happy to see the transform option to transform an existing combo?
Thanks,
Dan
Dear Dan,
Actually I have am using phpmaker to generate the forms.
It is generating a normal <form> with some other input box but I want to change one of the Input Text box to your great SuperBox selector. What is the best solution
Thanks in Advance,
Mehran
@Mehran
What have you tried so far?
The applyTo method should do the same as it does with ComboBox - if you specify the id of an input element, it should use that element and the parent form to render to.
If you would like me to take a look, please set up a test page where you use applyTo with both a ComboBox and with the SuperBoxSelect.
Thanks,
Dan
@Mehran
See here for an applyTo example:
http://technomedia.co.uk/SuperBoxSelect/applyTo.html
I'll add the transform (to transform an existing HTML Select) option soon.
Dan
Dear Dan,
Thanks a lot for your kind consider.
I did the same of your sample and it showing fine now! it is great. but the problem is I can not get the data back from the form (I have 3 fields in a form that use your SuperBox)
Can you kindly guide me what is wrong because after submit I can not see any data passed.
You can see it here:
http://niaar.com/bookadmin/applyTo.php
Thanks in advance.
Mehran
Dear Dan,
I found what is wrong.
"name" in this section:
var sbs = new Ext.ux.form.SuperBoxSelect({
...
name: 'states',
can not be the same of your input textbox <input name='states'
I have 2 question/requests:
1) This is your example (I just copy and post your code). After submitting, I am just getting only one of the selected Items. Please try it yourself.
http://niaar.com/bookadmin/applyTo.htm
even I did this in the same order as you mentioned:
this.addItemBox(val,display,caption,cls,style);
this.fireEvent('additem',this,val);
but still I am getting only one item after submit
2) is there any way that we can defined after how many letter show the list of selection? because now when I typed just the first letter, it gives me a long list
Again Thanks for your great job
Regards,
Mehran
Mehran,
1. PHP requires that you use square brackets in the name when sending arrays.
2. Yes, the same way as with ComboBox - the minChars config.
Dear Dan,
Everything is fine now.
You are Great! I like your works,
They are excellent and Fantastic jobs!
Keep going on..
I really appreciate your efforts,
Mehran