Dave_Thomas Absent Member.
Absent Member.
286 views

Using a scriplet to change the properties of the Input Fields

Is it possible to change the properties of an input field using the Scriptlet? In particular, I wish to change an optional field to a required field, based on the selected value of an earlier field so that the input window will be re-presented displaying the modified field as a required field.

Similarly, is it possible to change a "Prompt User" field to a "Use Constant" field?

 

Thanking you in advance.

Dave Thomas

Labels (1)
0 Likes
2 Replies
Absent Member.. Steve_Drummond Absent Member..
Absent Member..

Re: Using a scriplet to change the properties of the Input Fields

Unfortunately this is not possible, you can't modify the inputs other than interacting with them in Studio.

 

You could get around it in the situation you presented below by setting the field to always be required and prompt user, but ensure the 'AssignFrom' variable either does or does not have a value based on the previous steps.

0 Likes
Dave_Thomas Absent Member.
Absent Member.

Re: Using a scriplet to change the properties of the Input Fields

Thanks for the prompt reply Steve.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.