Expand my Community achievements bar.

John_Kordas
John_Kordas
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Currently I'm checking if the user has ticked at least one of the checkboxes by using:if(CheckBox1.rawValue == 0 && CheckBox2.rawValue == 0){app.alert("Please select one or more checkboxes.");}Is there a way to count the number of checkboxes and do a loop. If you have 15 checkboxes the code above ge...

    Type

    Questions

    Views

    1.8K

    Likes

    0

    Replies

    1
  • Thanks Steve,It works without a hitch. Im still getting my head around JavaScript and 2 weeks, 6 hours a day of reading and testing and reading is slowly getting clearer I think.Just to make sure Im getting this clear in my head. The way I had the script before was when it was applied to the field t...

    Type

    Discussions

    Views

    659

    Likes

    0

    Replies

    0
  • Back to square one.Using the logic above if I make a script object and call it setTotals with the following script in place:function Totals(){var totalval = form1.costs.spei1.rawValue + form1.costs.spei2.rawValue;if (totalval == 0 || totalval == null || totalval == ""){ this.rawValue = "";}else{ thi...

    Type

    Discussions

    Views

    659

    Likes

    0

    Replies

    0
  • Why is it that after you post a message you go back to the problem and play a little bit more and work out the answer?I change the script object slightly so as to not confuse myself but still called it Hello:function Welcome(){app.alert("Hello World")}Then on the action mouse up I used:form1.variabl...

    Type

    Discussions

    Views

    659

    Likes

    0

    Replies

    0
  • In Acrobat Pro you can create a document script as follows:function Hello(){app.alert("Hello World")}And call this Hello.If you create button on the page then create an action on Mouse Up Run a JavaScript which looks like this:Hello();A message box appears saying Hello World click OK and press the b...

    Type

    Discussions

    Views

    1.2K

    Likes

    0

    Replies

    6
  • This image is a template Im using to create an expense form. http://img160.imageshack.us/img160/963/form25vp.jpgI have a specials item section which is just totaled from all the Special Items fields.Was able to create a totals script to but could not get it to leave the field blank. Thanks to Justin...

    Type

    Discussions

    Views

    379

    Likes

    0

    Replies

    0
  • Thank you Justin,I am immensely great full and for your help it worked like a treat. I have posted a couple of questions in the Designer section but did not get any response. Not sure if its the why I put my questions out , so I thought Id try here.Ive created some basic forms using the FormCalc lan...

    Type

    Discussions

    Views

    307

    Likes

    0

    Replies

    0
  • I have put this script in to the totals field which works fine but displays $0.00.form1.costs.spetot.rawValue = form1.costs.spei1.rawValue + form1.costs.spei2.rawValue;To try and remove this Ive used a script out of the Extending Acrobat Forms with JavaScript. Ive also read that the get,Field needs ...

    Type

    Discussions

    Views

    878

    Likes

    0

    Replies

    2
  • Is there a way to have the figure update if the spetot figure is changed?Would I need another if statement?

    Type

    Discussions

    Views

    402

    Likes

    0

    Replies

    0
  • In the document properties (in Acrobat), initial view tab and Navigation tab option you can select Attachments Panels and Page.Can this be done is Designer can not seem to find a similar option.Regards, John.

    Type

    Discussions

    Views

    378

    Likes

    0

    Replies

    0
Top badges earned by John_Kordas
Customize the badges you want to showcase on your profile