Hi,
just wondering. If prototype validation enabled.
Validation seems to work on an input field, but not on textarea.
How can i validate a textarea field.
thx
M
just wondering. If prototype validation enabled.
Validation seems to work on an input field, but not on textarea.
How can i validate a textarea field.
thx
M
Hi M, it should work of course unless the textarea doesn't have a name or there is something wrong!
I am having a similar problem.
I can't get any textarea fields to refill with post data after an invalid CAPTCHA. Currently, this feature works on my form only for the input fields. It seems input fields repost after invalid CAPTCH just fine, but not those nasty textareas.
Here is a comparison of my working input field
and a non-working textarea field, where did I go wrong?
Thanks for any help!
-Runamok81
I can't get any textarea fields to refill with post data after an invalid CAPTCHA. Currently, this feature works on my form only for the input fields. It seems input fields repost after invalid CAPTCH just fine, but not those nasty textareas.
Here is a comparison of my working input field
<label>Charity Name:
<br />
<input name="Charity_Name" type="text" id="Charity_Name" size="35" value="<?php echo $_POST['Charity_Name']; ?>"/>
</label>
<br />and a non-working textarea field, where did I go wrong?
<label>What are your normal sources of funding?<br />
<textarea name="Normal_Funding" cols="50" id="Normal_Funding" value="<?php echo $_POST['Normal_Funding']; ?>"></textarea>
</label>Thanks for any help!
-Runamok81
Hi Runamok81,
Textarea doesn't take a value attribute - instead you have to put the value between the tags like this:
Bob
Textarea doesn't take a value attribute - instead you have to put the value between the tags like this:
<textarea name="Normal_Funding" cols="50" id="Normal_Funding" ><?php echo $_POST['Normal_Funding']; ?></textarea>Bob
Hi Runamok81,
and do you have Chronoforms v3.0 BETA 1 or 2 ? if so then you have an option at the Antispam tab to do this itself without adding this php code!
Cheers
Max
and do you have Chronoforms v3.0 BETA 1 or 2 ? if so then you have an option at the Antispam tab to do this itself without adding this php code!
Cheers
Max
Max,
Thanks for replying so quick. Sorry, for the simple Q. 😟 How would I check the version number from the joomla /admin page?
Thanks.
Thanks for replying so quick. Sorry, for the simple Q. 😟 How would I check the version number from the joomla /admin page?
Thanks.
No problems, go to Extensions > install/uninstall > then to components tab, you can see Chrono Contact and beside it is the version!
or you can just open your form and look into the Antispam tab if the option iam telling is there or not ?
or you can just open your form and look into the Antispam tab if the option iam telling is there or not ?
Thanks for the help.
Looks like I have Chrono Contact 2.5 J1.5 RC3.1. The option you speak of is absent in the anti-spam tab. 🙄
I suppose the textarea validiation failure and postdata failure is a known bug? One last question...
Any workarounds you can think of that would be quicker than backing up the form, and installing the new Chronoform v3.0 BETA?
-Runamok81
Looks like I have Chrono Contact 2.5 J1.5 RC3.1. The option you speak of is absent in the anti-spam tab. 🙄
I suppose the textarea validiation failure and postdata failure is a known bug? One last question...
Any workarounds you can think of that would be quicker than backing up the form, and installing the new Chronoform v3.0 BETA?
-Runamok81
Hi,
Bob's code above should work for the text area post data!
your textarea doesnt get javascript validated also ?
no backup and restore from Chrono 2.x to 3.x! form must be redone!
Cheers
Max
Bob's code above should work for the text area post data!
your textarea doesnt get javascript validated also ?
no backup and restore from Chrono 2.x to 3.x! form must be redone!
Cheers
Max
This topic is locked and no more replies can be posted.
