Skip to main content
Nintex Community Menu Bar

Controls - Disabled vs Read Only

  • Sep 13, 2017 4:28 AM UTC
  • 4 replies
  • 253 views
  • Translate All

Forum|alt.badge.img+4

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

4 replies

Forum|alt.badge.img+9

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.

Translate

Forum|alt.badge.img+14
  • Scholar
  • Sep 13, 2017 9:04 AM UTC

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

Translate

Forum|alt.badge.img+3

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

Translate

Forum|alt.badge.img+4
  • Author
  • Sep 26, 2017 4:42 AM UTC

Hi All,

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

thanks

Translate