UI Policy

vikaskumarc
Tera Contributor

i have a field on form requirement is if a checkbox is not ticked then it should appear a message that "you dont have xyz account and raise the request through https:xyz.com link. 

 

under ui policy script i wrote this but it isnt working.

 

function onCondition() {

    g_form.setValue('field name, "There is no XYZ account for selected user. You can raise  Access request using this link: <zyx>");
6 REPLIES 6

Hello again @vikaskumarc !
The UI Policy runs after your onLoad Client Script, so its “read-only” action can override whatever the script just did.

 

Please consider marking my answer as helpful if it assisted you in any way.

Chaitanya ILCR
Kilo Patron

Hi @vikaskumarc ,

try this

 

ChaitanyaILCR_1-1753546225804.png

 

replace 

your_fieldORVariable_name with your actual variable/field backend name
 
 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya