stijnh
(Iam)
1
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 …
qiang
(Qiang Xue)
3
How do you use CAutoComplete? Did you set its model and attribute properties?
stijnh
(Iam)
4
Yes I use the model attribute
But I fixed it by using the value attribute that I fill with the $_POST value
lruiz
(Oracleruiz)
5
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…
zaccaria
(Matteo Falsitta)
6
Are you sure that the attribute is safe?
There is a validator on this attribute?