

- #FILEMAKER PRO 10 HOW TO AUTO POPULATE FIELDS UPDATE#
- #FILEMAKER PRO 10 HOW TO AUTO POPULATE FIELDS CODE#
This.getField(“Signed_Date_month”).value = this.getField(“Effective_month”).value populate Signed_Date_month field with the value of Effective_month onBlur action(When you enter a month) for the “Effective_month” field:
#FILEMAKER PRO 10 HOW TO AUTO POPULATE FIELDS CODE#
I place an onBlur Action JavaScript similar to the following code for each field.: Each field gets formatted as a date field with wither mm, dd, or yyyy with the character places limited accordingly. Lets call field1 Date_month, field2 Date_day, and field3 Date_year. I have a form that I am converting to fillable and want to assign the value of a date formatted field(MM) with the value from another date formatted field(MM) – seems that when you prepare the form, and the original designer of the form placed text like Date:_/_/_ on the form, you get three separate field there. Have programmed with other languages extensively years ago, mainly database systems design. copy value of one to two, three and four next check if two is blank and if so, populate it with one’s value For this example, I want whatever I enter in Text1 to populate Text2 so I added this script:.Next highlight and edit the Run a JavaScript action: So if some types in the field and tabs or clicks away from the field this action is triggered. Edit Text1 and in the action tab choose the ‘On Blur’ trigger, ‘Run a JavaScript’ action and Add that action:.Let’s start with two fields: Text1 and Text2.If you use Live Cycle Designer for your form wizard, you’ll want to edit the form in Acrobat to follow these steps exactly. To begin let’s assume we’re using Acrobat Pro 8 or 9. Turns out you just need to write a little javascript and add it to the action tab of the initial field in your form. I was just asked how to use data from one field to populate other fields in an acrobat fill-in form.
#FILEMAKER PRO 10 HOW TO AUTO POPULATE FIELDS UPDATE#
Update 10-16-2014 added a sample where two field values concatenates into one with ‘and’ as a separator.
