How to disable text fields if Checkbox is not marked - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » How to disable text fields if Checkbox is not marked How to disable text fields if Checkbox is not marked Last post 12-06-2011 03:10 PM by Anson Hidajat. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 12-06-2011 01:54 PM PaigeN8486 Joined on 12-06-2011 Posts 1 How to disable text fields if Checkbox is not marked Reply Contact I need to disable two text fields for every checkbox on my form, unless the box is checked. For example, if "User Name" is not checked, I want my two text fields, first name and last name, to be disabled. Any advice? Thanks! 12-06-2011 03:10 PM In reply to Anson Hidajat Joined on 11-28-2011 Posts 619 Re: How to disable text fields if Checkbox is not marked Mark as Not AnswerMark as Answer... Reply Contact You'll need 2 rules to accomplish this. On the first text box, create a new formatting rule. The condition for the rule needs to look something like "checkboxField = FALSE". The formatting section should have disabled this control checked. Use this same rule for the second text box and your controls should be disabled when the checkbox is unchecked. Anson HidajatQdabra® Software/ InfoPathDev.comThe InfoPath Experts – Streamline data gathering to turn process into knowledge.™ Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
I need to disable two text fields for every checkbox on my form, unless the box is checked. For example, if "User Name" is not checked, I want my two text fields, first name and last name, to be disabled. Any advice? Thanks!
You'll need 2 rules to accomplish this. On the first text box, create a new formatting rule. The condition for the rule needs to look something like "checkboxField = FALSE". The formatting section should have disabled this control checked. Use this same rule for the second text box and your controls should be disabled when the checkbox is unchecked.