Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.5, 5.0.6
-
None
Description
The T5 validators generate the validation JavaScript although the form has set "clientValidation=false". The form does not inlude the required JS-libs when "clientValidation=false. This leads to an JS error on the client side.
This script is generated with clientValidation=false:
<script language="javascript" type="text/javascript">
<!--
Event.observe(window, "load", function() {
Tapestry.Field.required('nameField', 'You must provide a value for
Name.');
});
// -->
</script>
This is the error in Firefox:
Error: Event.observe is not a function
Source: http://localhost:8080/tapestry-form-noclient/
Line: 18
Attachments
Attachments
Issue Links
- relates to
-
TAPESTRY-1588 Validation error images are included in the markup for fields without errors, even when the form has client validation disabled
- Closed