• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Validation not working properly

Validation not working properly 12 years 3 months ago #20855

I have a site with a form that includes a checkbox and a text field that need to validate for the form to work. They were working once, and there are other fields in the form that validate correctly. I'm assuming I made some kind of error: I've been editing the html and perhaps that's where my error occurred.

Here's my code:

<tr class="rsform-block rsform-block-accept">
<td colspan=3>(*){Accept:body}{Accept:caption} <div class="formClr"></div>{Accept:validation}</td>
</tr>
<tr class="rsform-block rsform-block-electronic-signature">
<td>{Electronic Signature:caption} (*)</td>
<td>{Electronic Signature:body}<div class="formClr"></div>{Electronic Signature:validation}</td>
<td>{I accept rules and regulations:validation}</td>
</tr>

Both of these fields come up as needing input even when it existe.

Here's the url:

guilfordsound.com/index.php?option=com_rsform&formId=4
The administrator has disabled public write access.

Validation not working properly 12 years 3 months ago #20865

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
The problem is indeed with your current form layout, but not with the provided HTML code. I presume that you are encountering this issue, on some other browser then Firefox.

You will have to remove the following code from within the Form Layout area:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
 
<body>

PS: Don't forget to also remove the closing body tag as well.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!