Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 06, 2007 at 07:35 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 06, 2007 at 07:40 AM

    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"

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi,

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