Filed value saving issue

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

Parents Reply Children