Keep Form filled on uncompleted Form Submit

finc 25 Jun, 2011
How I can keep the form fields filled, when the user forgets to fill a field and clicks on Submit.
GreyHead 25 Jun, 2011
Hi finc,

1. Add validation to the required fields.

2. Set "Republish fields if error occured" to "Try to republish" on the Form Editor General tab.

Bpb
finc 25 Jun, 2011
Thanks GreyHead,

done that one.
I think I have to make translation for the popup messages, they are in english of course.
That means to have a language file in the certain language?
finc 25 Jun, 2011
Looks like its not in a language file😟
I use the mootols as the validation library, so the text is in
/public_html/components/com_chronocontact/js/jsvalidation2.js
line 61 and arround those lines You can make Your translation.
( I checked on that )

correct ?
GreyHead 25 Jun, 2011
Hi finc,

You can use the title attribute in the form inputs to set a custom error message
<input name='some_name' . . . title='Anna voimassa oleva sähköpostiosoite' . . . />


Bob
finc 25 Jun, 2011
Thanks I just found out that I can not use ä ö in the js file nor ä or ö

I think I go use You advice!
So How I switch the other error messages of?
This topic is locked and no more replies can be posted.