Hi folks,
Can anyone help me clear a single line form field on submit. I'm useless at jquery. Assuming this field's ID is q1, I've tried...
$(document).ready(function () { //Set select value to nothing $('#q1').val(''); })
I'm doing this in classic form designer. As a side-note, this q1 field will contain HTML tags. We are using the q1 field to set a Rich Text (id=q2) field's default value, which renders the HTML perfectly. But q1's value is causing the form to break on submit. If I clear q1's values manually, the submit works fine. Hiding the field and ignoring values stops the on-screen validation message, but it still breaks on submit. So I guess the other question to ask Laserfiche staff is, is there some script injection code that runs prior to any user-added javascript? If so, the above solution will still be useless.