Jump to content

Martin

Registered Users - Approved
  • Posts

    4
  • Joined

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    10.0.3

Converted

  • OS
    Windows8.1

Converted

  • Acrobat Version
    Acrobat X (10)

Martin's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter Rare

Recent Badges

10

Reputation

  1. Excellent help, and thanks for course info!! Regards Martin
  2. Hello Dan, thanks for the reply and time you spend! The reason that there are lines who doesn't make sense is because the less knowledge I have of JS. With a lot of searching on the forum and copying and pasting I did came with that terrible result. The only small thing that is still a struggle and I do not know how to change, is the result date. When I use the input Field with 12-03-2017 (is 12 March 2017) and the months Field with 12, the result is showing 12-03-2018 as December-03-2018. How do I change this in the format 12-03-2018(12 March 2018)? P.S. Just a quick question for a suggestion... Is for learning JS, reading the JavaScript Guide the most logic way or do you have any smart tips? Thanks!!
  3. Hello, I am just a starter with JS, but I am trying to fill a Field with a correct Rule in FP. This I would like to use in MarcomCentral for setting up a Version Product for contracts. I did set-up the Field "Months" and two other Fields for "Start Date" and "End date". I would like to use the calendar in MC to fill in the start date, and it will be in the format dd-mm-yyyy. For example the Field Months need to be filled as an open filled or drop down with 36, 48 or 60. I did setup a rule like below, but it is totally not correct. The part of showing the right format is wrong, but more problems with correct calculation. What am I doing wrong? I think a lot, but please help:p var s = Field("Start Date"); var myDate = new DateFromString(Field("Date")); myDate.setMonth(myDate.getMonth() + Field("Months")); return FormatDate(myDate, "dd/mm/yyyy");
×
×
  • Create New...