Expand my Community achievements bar.

gkaiseril
gkaiseril
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • One can create the drop down list or look under the "Custom" tab of the Library.

    Type

    Discussions

    Views

    331

    Likes

    0

    Replies

    0
  • You have to use the Date/Time object and the "Date2Num()" and "Num2Date()" functions. The format of of the date string is very necessary and important because if you do not have it correct for the date string being passed to the 'Date2Num()" funciton you will not get a valid answer.The "Date2Num()" ...

    Type

    Discussions

    Views

    432

    Likes

    0

    Replies

    0
  • See Difference between Date2Num and IsoDate2Num functions?, http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=15494 . For some code and examples of entered date and the date conversion with different format parameter values.There is a lot that has to be correct for converting a date string t...

    Type

    Discussions

    Views

    872

    Likes

    0

    Replies

    0
  • "Sum" is the function name. the "(" and ")" mark the start and end of the passed parameters to the function. the "n1 [,n2...]" indicate that there is one required parameter and then any number of optional parameters. The description in the 'Scripting Reference" under LiveCycle Designer's "Help" is:"...

    Type

    Discussions

    Views

    264

    Likes

    0

    Replies

    0
  • You have to group your Radio Buttons.Creating Radio CheckBoxes by Thom Parker, http://www.acrobatusers.com/tutorials/2007/js_radio_check_box/Extending LiveCycle Forms with JavaScript and FormCalc, http://www.acrobatusers.com/community/monthly_topic/2008/04/

    Type

    Discussions

    Views

    368

    Likes

    0

    Replies

    0
  • It sounds like you are not getting the correct number of days from the "Date2Num()" function. You must use the "formattedValue" for the required date string parameter and provide the optional format string with the correct picture format for the field value being passed to the "Date2Num()" function....

    Type

    Discussions

    Views

    872

    Likes

    0

    Replies

    0
  • Have you looked at using JavaScript to get the "doc" object's "documentFileName" property available for versions 6 and above or using the ".path" property to get the device independent path and file name.

    Type

    Discussions

    Views

    269

    Likes

    0

    Replies

    0
  • You should also need to check the JS reference for possible restrictions and methods to allow restricted actions.

    Type

    Discussions

    Views

    398

    Likes

    0

    Replies

    0
  • There are many variations of JavaScript and LiveCycle Designer has added other limitations.For LiveCycle Designer try for the item field's calculation script try:var randnum = Math.floor ( Math.random() * 3); if(randum == 0)$.rawValue = "a dessert";if(randum == 1)$.rawValue = "a salad";if(randum == ...

    Type

    Discussions

    Views

    481

    Likes

    0

    Replies

    0
  • Your formatted date time fields are displaying exactly the date and time as you have posted in your format parameter?I would think it would be more like: "MM-dd-YYYY HH:MM:SS A".

    Type

    Discussions

    Views

    241

    Likes

    0

    Replies

    0