Re: Form field values after postback

2008-01-25 Thread Geo
hmmm, Just noticed that this only happens if i do a : $form-text('test'); rather than: input id=test type=text value= name=data[test]/ anyone know why? On 25 Jan, 10:39, Geo [EMAIL PROTECTED] wrote: Hi, I have an issue with my site. when i submit a form that fails validation and

Re: Form field values after postback

2008-01-25 Thread Chris Hartjes
On Jan 25, 2008 8:43 AM, Geo [EMAIL PROTECTED] wrote: It works fine if i put the Model name into the $form-text like so: $form-text('Model.test') ... however i am not using a database table for this model and would prefer not to change all the $form-text in if possible First of all, not

Re: Form field values after postback

2008-01-25 Thread MonkeyGirl
Just noticed that this only happens if i do a : $form-text('test'); rather than: input id=test type=text value= name=data[test]/ anyone know why? Usually any bug to do with just the first character of a string is a sign that the string's being treated as an array. For example, echoing

Re: Form field values after postback

2008-01-25 Thread Geo
It works fine if i put the Model name into the $form-text like so: $form-text('Model.test') ... however i am not using a database table for this model and would prefer not to change all the $form-text in if possible On 25 Jan, 12:04, Geo [EMAIL PROTECTED] wrote: hmmm, Just noticed that this