Forums

Textarea not validated

vecchia 23 Jun, 2009
Hi all,
i found a bug with joomla 1.5.11 and the latest release of chronoforms. If i set to true the required field of a textarea it doesn't validate it😲
Max_admin 23 Jun, 2009
I can validate a testarea here, show me your form!

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
vecchia 23 Jun, 2009
ok, it's a test form:

link

p.s. really great support!
Max_admin 23 Jun, 2009
Hi, its the reset button breaks the validation, please remove it or open the code view and add a name for it!😉

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
vecchia 23 Jun, 2009
wooow it works😀 very good support, i love chronoforms! GREAT COMPONENT! i hope to see an official fix in the next release :wink:
Max_admin 23 Jun, 2009
yes this one is fixed sometime now, will be there too!😉
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
kiki 03 Jul, 2009
hi😶

i can't validate it either..

could you please spell it for people who need it repeated...

here is my code

<div class="form_item">
<div class="form_element cf_heading">
<h1 class="cf_text">Email us Your Comments and Questions</h1>
</div>
<div class="cfclear"> </div>
</div>

<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 150px;">Your Name</label>
<input class="cf_inputbox required validate-alphanum" maxlength="150" size="30" title="Please Enter Your Name" id="text_0" name="text_0" type="text" />

</div>
<div class="cfclear"> </div>
</div>

<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 150px;">Your Email</label>
<input class="cf_inputbox required validate-email" maxlength="150" size="30" title="Please Enter Your Email" id="text_1" name="text_1" type="text" />

</div>
<div class="cfclear"> </div>
</div>

<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 150px;">Your Phone Number</label>
<input class="cf_inputbox" maxlength="150" size="30" title="" id="text_7" name="text_7" type="text" />

</div>
<div class="cfclear"> </div>
</div>

<div class="form_item">
<div class="form_element cf_textarea">
<label class="cf_label" style="width: 150px;">Enter Your Message</label>
<textarea class="cf_inputbox required" rows="3" id="text_6" title="Please Enter Your Message" cols="30" name="text_6"></textarea>

</div>
<div class="cfclear"> </div>
</div>

<div class="form_item">
<div class="form_element cf_button">
<input value="Submit" name="button_2" type="submit" />
</div>
<div class="cfclear"> </div>
</div>
Max_admin 03 Jul, 2009
Hi Kiki,

your form validates very fine here, I have added your code to a new form and enabled validation at the last tab and saved!! you don't need to enable validation if you have "LOad Chronoforms files" setting set to yes under the general tab, this is preferred for wizard created forms!

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
kiki 03 Jul, 2009
HI Thank you for your attention.

Let's recap: if i have load files to "Yes" in General tab it should be no no under validation tab, or do i still need to validate on submit?

p.s. i tried both ways and the form is still being submitted empty.. see it at http://www.website-do.com/seo-cms-company/contact-us.html
Max_admin 03 Jul, 2009
hi Kiki,

Please enable the "load files option" only because your form is created using the wizard, then remove anything under the "date fields names" at the bottom of the general tab, this is a small bug in the current release!

Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
kiki 03 Jul, 2009
Max darling, you will not like it..

i followed and:

1. d/m/y when deleted and form saved doesn't go away...
2. i tried to delete dashboard as well.. comes back on
3. i tried
onsubmit=return validateForm(Contact) ... didn't fix

We have mootools reduced and no java running.. could it be the issue??
kiki 03 Jul, 2009
tried debug

1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [text_0] => [text_1] => [text_7] => [text_6] => [button_2] => Submit [cc1f1d585a12fb2e296fc4cf9f52008a] => 1 [1cf1] => 8ee675f3d806d6bfd8940da1d6f87e5a [chronoformname] => Contact )
6. $_FILES Array: Array ( )
7. Form passed the plugins step (if enabled) OK
8. An email has been SENT successfully from (admin)info@website-do.com to [email]info@website-do.com[/email]
9. Debug End
10.
Redirect link set, click to test:
http:blah blah buh-you.html
Max_admin 03 Jul, 2009
hi Kiki,

please apply the fix posted by Peter here:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=3&t=15000#p36193

then make sure the date fields names is empty then hit save and retry and let me know!

indeed this bug may break all the validation but not the text area only, if its the text area only then I suspect there is something else! :? however your code works here perfectly on FF3

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.