Expand my Community achievements bar.

mike_tx_edu
mike_tx_edu
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Srini,I viewed your sample and tried adding the script fragment to my new form again. What happens is that when it first add the script fragment and I click on the top-level form in the hierarchy everything in the script looks disabled (greyed-out). I click around a few more times and now everything...

    Type

    Questions

    Views

    509

    Likes

    0

    Replies

    0
  • Thanks. I'm not looking at editing the fragment on the new form itself. I just want to be able to edit the script for other objects on that form, but once a fragment is placed on the form EVERYTHING is disabled.I was hoping to make this more of a reusable piece of code that if changes were made to t...

    Type

    Questions

    Views

    507

    Likes

    0

    Replies

    0
  • I created a process in workbench to pull data from a database and added a data connection to the service to call the process and bind the data fields to the form. When I click on the button to invoke the service I am challenged with entering my username and password before the service returns any da...

    Type

    Questions

    Views

    1.4K

    Likes

    0

    Replies

    5
  • I created a script fragment that will contain common variables and functions that I want to be used in various different forms. When I place the fragment on a new form all the scripting becomes disabled for the entire form even for subforms that have nothing to do with the scripting fragment. I want...

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    4
  • Also make sure the Language dropdown is set to JavaScript and not FormCalc

    Type

    Questions

    Views

    921

    Likes

    0

    Replies

    0
  • Your syntax looks incorrect. It looks like you are missing the openning parenthesis '('  in the if statement and 1 should not be in quotes. This is an interger value and not a string value like "true". Also the objects are case sensitive so if your object name is TextField1 the script should reflect...

    Type

    Questions

    Views

    911

    Likes

    0

    Replies

    0
  • Hi Steve,Thanks for the response! This works like a charm and is exactly what I am looking for.Regards,Mike

    Type

    Questions

    Views

    900

    Likes

    0

    Replies

    0
  • As Paul stated this code belongs in the Script Editor, not in the XML. In LiveCycle Designer go to the Window menu and make sure Script Editor is checked and you are able to see it. It most likely will show up across the top. In the Design View of your form click on the checkbox object you want the ...

    Type

    Questions

    Views

    944

    Likes

    0

    Replies

    0
  • Add the following script in the Change event for your particular checkbox and change TextField to the appropriate field that you want to become mandatory:if (this.rawValue == "true"){TextField.mandatory= "error";}else{TextField.mandatory= "disabled";}

    Type

    Questions

    Views

    943

    Likes

    0

    Replies

    0
  • I want to be able to mask a SSN that is displayed on a Form. For example, the user would enter nine digits for the SSN, but when displaying on the form and for printing purposes the field gets masked as ***-**-9999 for security purposes. When saving the SSN to the database the entire nine digits are...

    Type

    Questions

    Views

    5.1K

    Likes

    0

    Replies

    3
Top badges earned by mike_tx_edu
Customize the badges you want to showcase on your profile