cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Controls - Disabled vs Read Only

Jump to solution

hi All,

i need to disabled certain control in my approval form, but if i set the control to disabled and approved, the value will save as blank.

if there anyway which i can set the control to disabled or read only but then it will not change the value to blank when its approved ?

thanks

Labels: (1)
0 Kudos
Reply
4 Replies
Workflow Hero

Re: Controls - Disabled vs Read Only

Jump to solution

In Nintex Forms, if you disabled a field by a form rule the value will not be saved.

1. Let the field Enabled and add JavaScript code to the Form Settings.
    NWF$('#'+txtField1).prop("readonly", true);
    where 'txtField1' is the Client ID JavaScript variable name.

2. Also, You can use 'Calculate Value' control that connects to your list field and use workflow to update field value.

   So that it will displays the value when it has some value.

Reply
Workflow Hero

Re: Controls - Disabled vs Read Only

Jump to solution

you can place control into a panel and apply rule on the panel.

Reply
Workflow Hero

Re: Controls - Disabled vs Read Only

Jump to solution

The best way to make control ready only and save the value is, Write a rule saying if the control contains some value the disable the control. then it works

Reply
Workflow Hero

Re: Controls - Disabled vs Read Only

Jump to solution

Hi All,

i found the solution. we just need to set the control setting "Advanced -> Control Mode" to either Auto / Edit / Display.

thanks

Reply