Hi
Below are two codes where first one is getting save in rule input variable but on display validation nothing is displaying .
On second code i have added 'value' syntax conditionally. Where display value will come on true condition.But after adding this nothing is getting save in rule input variable.
Why issue is coming only after adding value syntax. As i need that to display value on true condition. Kindly help me where is the exact issue.
1.
a!paragraphField( label: "Sample Field", disabled: if(rule!APN_isBlank(local!flag),false,true), saveInto: { a!save(ri!requsetData.sampleField, if(rule!APN_isBlank(local!tempChangeFlag), {ri!requsetData.sampleField},"Need to Display if flag is true") ), }, ),
2.
a!paragraphField( label: "Sample Field", value: if(rule!APN_isBlank(local!flag),"","Need to Display if flag is true"), disabled: if(rule!APN_isBlank(local!flag),false,true), saveInto: { a!save(ri!requsetData.sampleField, if(rule!APN_isBlank(local!tempChangeFlag), {ri!requsetData.sampleField},"Need to Display if flag is true") ), }, ),
Discussion posts and replies are publicly visible
Hi Sauravk,
On your first point , you enter any value in the text box it always check for the validation of that particular field first , if there is no validation matches then it will save the values into variable but in your case your looking for that in reverse order .
plz suggest correct approach. Main goal is to display text on true condition n that should be save in rule input variable. But if i remove "Value" syntex then its working fine. Plz correct my code if you have any idea about the issue.