Remove read-only attribute from a field

S

SDecou

I have a field set to read-only because I am populating it in a query that
runs in form load. On the submit of the data I want to check to make sure
that this field is populated, if not I need to remove the read-only attribute
and let the user manually enter text. Is this possible in Infopath?
 
M

Madhuri

Hi
Here is an alternate solution. You can try this

1. Open the form in design mode
2. Go to properties window of the text box by double clicking on it
3. Click on “Display†tab
4. Click on “Conditional formatting†button
5. Click on “Add†button
6. In the first drop down select the field’s name and in second dropdown
select “is not blankâ€
7. Check “Read-only†check box
8. Click “Ok†three times
9. Save the changes made in the form

I hope this helps you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top