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

Disabled form field text not readable

Jump to solution

Hi,

I have a situation where based on certain business rules some of the form fields are required to be disabled. However, the text within those fields do not remain that prominent when the actions is performed. i.e. when the form runs and associated rules perform their actions etc.

I was wondering if some one out there had some similar situation.

Thank you,

H-

0 Kudos
Reply
1 Reply
Workflow Hero

Re: Disabled form field text not readable

Jump to solution

Yes, this is a common SharePoint, actually a .Net, issue for application pages for forms. There was a related post here Value of disabled fields not saved

The summary of the solution was to set the field to readonly instead of actually disabling it. Using

Let the field Enabled and add to the Form Settings - Custom Javascript the following line

NWF$('#'+txtDisabled).prop("readonly", true);

where txtDisabled is the Store Client ID in JavaScript variable for your field

Reply