joined:Oct 3, 2011
I have a really annoying problem on my site. I currently have a field for an "Add Listing" page and it automatically generates a "Ref ID" from the database and shows it as a frozen field. It's written like this...
$form->field('frozen', $lng['user']['RefID'], 'RefID', $formSubmit['RefID'], '', '', false, '25', '255');
The problem is, if the user creates an error and has to redo the form, the field clears automatically because the field is frozen, the listing is submitted without a Ref ID.
Is there anyway I can stop this field from clearing? Or better still, just presenting the Ref ID as text above the form?