When I use the CAutoComplete in a form and hit the submit button, my textfield is always empty ...
He never remember what I search by the AutoComplete field.
How can I tell the CAutoComplete width that he must remember the entered / found info?
I attached to widget a model and used $searchform->attributes = $_POST['Search'];, but non of these worked ..
Page 1 of 1
CAutoComplete - $_POST
#3
Posted 02 March 2010 - 07:27 AM
How do you use CAutoComplete? Did you set its model and attribute properties?
#5
Posted 25 March 2010 - 09:36 AM
I recommend you to use Firebug (Firefox's addon) to debug and see the $_POST content.
That can help you to know what is happening...
That can help you to know what is happening...
#6
Posted 25 March 2010 - 10:43 AM
Are you sure that the attribute is safe?
There is a validator on this attribute?
There is a validator on this attribute?
Share this topic:
Page 1 of 1

Help














