I am working on SharePoint 2013 office 365, Infopath 2010.
I have a requirement when user selects "Approved" from the given dropdown list and clicks on save button then the text boxes in infopath form should be disabled. I want to achieve this functionality using programmatically because i have like 20 text boxes in the form.
I tried out conditional formatting on text boxes by reading the value on drop down list i can disable text boxes and save it. But when the user comes back and changes the drop down value the text boxes are editable again.
I want to save the state of textboxes after user selects approved from dropdown list and clicks on submit and it should be completely disabled for editing for next time.
Edit: Problem is that user is going to use the form again and again. I have like 20 text boxes and user enters data in 2 text boxes and then he sends it for review and they select approve from dropdown list and these two text boxes should be disable for editing after approved.
Again user is going to reuse the form by entering the data in another text boxes he sends it for review. The reviewer should differentiate the newly added ones either by disable the old text boxes or color coding.
Thanks