Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
5.0.6
-
None
Description
I have this form:
<t:form t:id="myform" t:clientvalidation="false">
<input t:type="textfield" t:id="comment" t:validate="required" />
<input t:type="submit" name="Submit" t:id="Submit" value="Submit" /><br />
<t:errors />
</t:form>
The rendered page still contains javascript even when clientvalidate="false", the only way to totally remove javascript from the page is, no t:validate parameter, actually those javascript is not being used when clientvalidation="false", I believe it's redundant, try to disable javascript in the browser and click submit, it still displays the correct error message same as when browser's javascript is enabled.
Advantage of completely removing those script is, in a login form, user does not have to wait for the downloading of those scripts(around 200k, very noticeable in a slow connection)