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 should be disabled. I want to achieve this functionality using programatically 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 dropdownlist and clicks on submit and it should be completely disabled for editing for next time.
Please help me out.