Expand my Community achievements bar.

AKloft
AKloft
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Are all of the fields you need to lock in individual subforms?  If so, you could just do subform.access = "readOnly"; and that would lock everything in subform.If you want to send me your simple form, I'll look at it and help you get a solution (alex.kloft@gmail.com)

    Type

    Questions

    Views

    877

    Likes

    0

    Replies

    0
  • in a script object (I'll name Helper):function calculateDateDifference(dateOne, dateTwo){     var dOne = new Date(dateOne);     var dTwo = new Date(dateTwo);     var oneDay = 1000*60*60*24; //milliseconds in a day     return Math.ceil((dTwo - dOne) / oneDay);}then you would just do:var percentage = ...

    Type

    Questions

    Views

    713

    Like

    1

    Replies

    0
  • Yep, you get it.I really only put Date related stuff in script objects ("elsewhere" objects), but it's also a place you can put validation scripts to check fields for just numbers, just alpha characters, etc.  They are pretty helpful for reducing the amount of repeated code.Referencing other form fi...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • Can you e-mail me the form at alex.kloft@gmail.com ?  This will allow me to see things completely and develop a solution and walk you through it better.Thanks,AlexP.S. You cannot reply to the e-mails Adobe sends you because they are just letting you know someone has responded to the thread you creat...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • to get MonthYear, change the script I added to StateMinimumWage from:to

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • Ahhh sorry, I failed to explain fully.  HelperFunctions is just a script object (right click the form's root node and say "insert script object".  HelperFunctions is just what I named it.  You could name it Jerry if you want)   This is basically like a javascript file (.js) where you can write a who...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • I tend to like using Javascript over FormCalc, but I would think the syntax would be the same:var currentVal = Current.rawValue;Current.rawValue = currentVal + 1;

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • My lesson learned:In order to use new Date(), I had to put it in a script object.  This allowed me to call it without issue (the Date() constructors were why your form was failing).Best Practice:I put a display pattern on your StateMinimumWage field...use it on all of your dollar fields, so you have...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • http://acrobat.com   sign in and you can upload files to thator you can  PM me your e-mail address and I can send you an invite to share a  workspace with me and upload your form to that

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • http://acrobat.com  sign in and you can upload files to thator you can PM me your e-mail address and I can send you an invite to share a workspace with me and upload your form to that

    Type

    Questions

    Views

    830

    Likes

    0

    Replies

    0