cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Retreive Checkbox field value

Former Member
0 Likes
148

Hello,

I am trying to implement some functionality on checkbox checked condition, if I try to get value of checkbox field as below nothing is printed

doc.getExtensionField("CheckboxField").get()

Is there any specific way to script to fetch the value of checkbox field?

Please guide me on this.

Thanks,

Iqbal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Iqbal,

You can write your script on the field data edit and target as Check Box.Here you can check the newFieldValue of it.

Use the following code:-

field.newFieldValue , this will give you true or false depending upon the selection of the check box.

Please revert for any Issue.

Thanks,

Ankur Goyal

Former Member
0 Likes

Hi Ankur,

Ok, thats fine. Can you also guide me through fetching value for DATE field?

Thanks,

Iqbal