Forums

FAQ #35... incomplete?

coffeej 31 Oct, 2009
I can't seem to get this issue resolved given the information below. Could you update the FAQ or provide me with complete information. The code in red also seems like a possible error to me, but I may not understand its purpose. Nonetheless, I can't get my data to stick.

Thanks...

How can I keep the form data with ImageVerification?closeWhen you use ImageVerification the form data is passed back to the server so that the image code can be validated. This is needed for security reasons. A consequence of this is that, if the code is not valid, the form is re-sent to the browser. ChronoForms will now re-display the form but you need to set up your form html so that any existing values are preserved.
--------------------------------------------------------------------------------
You need to make sure that your Form HTML is capable of showing the existing values. To do this each 'Input' field needs to have a value field set like this:
. . . name="field_name" value=" />" . . .If there is no value in the $_POST array then this will show as a blank entry. Slightly different code is needed for some other fields. For 'Textarea' fields, there is no value attribute and you need to set the value between the textarea tags:
... sorry, this FAQ has been corrupted when I tried to edit it . . . I'll re-write it when I have time . . .

GreyHead 31 Oct, 2009
Hi coffeej,

The FAQ is out of date. In the form General Tab set "Republish fields if error occured" to 'Try to Republish' and ChronoForms will do its best to add the values for you.

Bob

PS
coffeej 03 Nov, 2009
Thanks Bob... that did indeed take care of it. Not sure how I missed that option!

Best wishes...
This topic is locked and no more replies can be posted.