Fields "required" is persistent regardless of what I do
I start with a defined preset from Form builder. Then I customize it and save it as a new type and preset. I am creating a complex form with a set of custom presets for the form itself and the various fieldsets in the form. The fields persist in maintaining a required setting and will also in some instances decide that the field should be validated as an email address. I checked the XML files for the presets I created and they appear to me fine (ie required: false, ). I have done this many times, some times it work, then it will not.
In addition each time I try to update the form the following code is added to the end of the php file.
<script src="webassist/forms/wa_servervalidation.js" type="text/javascript"></script>
<script>
var XXXXJobApp_Sharp_Default_Opts = {
focusout: true,
focusin: false,
change: false,
keyup: false,
popupClass: "Serene",
pointedAt: "middle",
fieldOffset: 0,
fieldMargin: 0,
position: "middle",
direction: "middle",
border: 0,
offset: 0,
closeText: "✖",
percentWidth: 100,
orientation: "left"
};
function XXXXJobApp_Sharp_Default_Validate() {
$("#XXXXJobApp_Sharp_Default").h5Validate(XXXXJobApp_Sharp_Default_Opts);
}
$(document).ready(function () {
XXXXJobApp_Sharp_Default_Validate()
ConvertServerErrors(XXXXJobApp_Sharp_Default_Opts);
});
</script>
Any assistance will be appreciated.