cancel
Showing results for 
Search instead for 
Did you mean: 

How to dynamically assign Display Pattern using FormCalc in Adobe PDF Form

Former Member
0 Kudos

I am using Adobe PDF Form Designer. I am trying to dynamically assign a display pattern like MM/DD/YYYY to the Field tab - Display Pattern property. May I know how to do that?

I am using FormCalc scripting.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

What I mean here is I want to use FormCalc to dynamically assign the field based on some condition. I try below code in Validate event. It didn't format the date as what I want.

$record.GENERAL.BEDAT.format.picture = "MM/DD/YYYY"

Former Member
0 Kudos

hi,

u can format the date based on the given condition using date edit mask in Interface. use this in layout directly.

Former Member
0 Kudos

hi,

After placing the date field in layout from data view, u will get tabs like field,layout,border etc..

In field tab under the edit pattern specify the pattern in which you want to display the date field.

hope this works.

Reward points if helpful.