I don't know how to do that, but I think it would be user abuse to clear out the field. If I mistype a date or an SSN for example, I don't want to have to type it all over again, just correct my mistake.Jared
The execValidate() function of a form node will return true if the node and all of its contents are valid. For example, if you have a subform called OrgInfo that has many fields in it,xfa.form.form1.OrgInfo.execValidate()will return true if everything in the OrgInfo subform is valid and false otherw...
You could use a pop up menu (app.PopUpMenuEx). If you want to do that, you'll have to spend some time with the Acrobat Forms manuals. It's a bit hard to get used to, but I find them to be a nice feature.
When you created the PDF in the first place you would have been given options of either creating an "Interactive Form with Fixed Pages" or an "Interactive form with a Flowable Layout". Sounds like you chose the former. If you want to be able to use the drawing objects you need to choose the "Flowabl...
I don't think I understand the question. To get the current system day of the month:function getSystemDayOfMonth() { var oToday = new Date(); return "" + oToday.getDate();}
You can run a validation on any script, not just a button click. To set a field to mandatory in script:myField.validate.nullTest = "error";To set it to not mandatory:myField.validate.nullTest = "disabled";
Here's something you can do to better understand what's going on.To make a field mandatory, select the field and set the Type to "User Entered - Required". The Type is in the Value tab of the Object palette. Let's say your object is on the first page of your form, which you've named "Page1". Let's a...
Hi Mark,I tried to reproduce your problem and could not. It works for me. You might want to try a work-around. Instead of toggling the visibility of a static text object, you could use a read-only field that looks like a static text object and toggle its value - i.e. set it to "" when you want it to...