Hi,
The form is empty after entering wrong captcha. That is not very userfriendly...
I found an old thread about that from 2007, but rekon that this doesn't apply anymore.. and anyways I don't understand the solution provided there.
What can I do so that the for does not go empty if the user enters a wrong captcha?
Hello,
Click on the blue link for the form you are using.
You will see all the tabs for the form. The one tab you want is the General tab/Main Settings section.
Look towards the bottom and you will see Republish fields if error occured - it is the sixth entry from the bottom. Make sure that you select Try to republish and also check the next filed Renew Form Instance On Submit and make sure that is selected with Same Instance.
Click Save.
Hope this helps.
RM
Thank you for your help
I ticked those options now, but the form still turns empty on wrong captcha.
I use the chrono module, by the way
Hi analographi,
Please check that the republish is working *without* the module by opening the form from the link in the Forms Manager. This should be OK. If not then there is probably a JavaScript conflict with something else on your site (or you don't have 'Try to Republish' turned on).
Bob
I have tested it without being a module.
The name, email and subject now remain on wrong captcha, but the message in the text field is gone.
The text field also has a different style than all other fields on my page. maybe there is a connection?
Hi analographi,
Possibly - please post the form html for the textarea.
Bob
Hi,
That was just a mistake when copying the code into the thread here. I forgot one part of it and then copied the rest and accidentaly l skipped that tag.
It's there in the original. It can't be the cause.
Hi analographi,
Hmmmm . . . I pasted your form HTML into a new form, fixed the missing > and it works perfectly.
Bob
! thank you!
My bad, I misunderstood your first post I thought you said the whole "</textarea>" was missing. On second read, how could I🙂
Thank you. It works now.
Could you maybe give me a hint on how I can change the style of that textarea? The other form elements follow my templates css where I edited the "input" class, but not the textarea.
Hi analographi,
The easy way is to add 'textarea' to the tag list for that css.
Bob
Hi
My message when the captcha is input incorrectly shows in the normal link of the form but not in the module
HELP!
regards
Wade