Hide/Show fields from Infopath form - InfoPath Dev
in

InfoPath Dev

Hide/Show fields from Infopath form

Last post 08-24-2013 06:54 PM by Patrick Halstead. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-12-2013 06:40 AM

    Hide/Show fields from Infopath form

    Hi All,

    I have a form which has fields as the image attached below. Barcode is a value(for ex: a12345bncex457t9) which will split into three parts-Build Cell, T Num & Customer PM, Barcode status is drop down box which consists of "Approved", "Rejected". My requirement is: 1. These Three fields should be "hidden" when barcode status is empty. 2. three fields should be "Read Only" when Barcode status is approved. 3. Three fields should be "Editable" when barcode satus is "Rejected". Please guide me how can i achieve this.

    Thanks


    Ramanjjilu Naidu
    Filed under:
  • 08-19-2013 01:25 AM In reply to

    Re: Hide/Show fields from Infopath form

    Hi Ramu,

    This is easy. Just add formatting rules to the three fields to hide them when barcode status is entry or make them "disabled" if the barcode status is approved, etc. Managed rules, add rule, formatting, ... eminently doable.

    Patrick Halstead
    Project Manager at Qdabra
  • 08-21-2013 07:52 PM In reply to

    Re: Hide/Show fields from Infopath form

    Instead of a text field for barcode, you had a drop down list of items...how you apply the formatting to the three fields to hide them??

  • 08-24-2013 06:54 PM In reply to

    Re: Hide/Show fields from Infopath form

    Easiest way would be to add all three fields to a section and add formatting rules to that section. The formatting rules now include not just the barcode status but also the barcode field. So you have to have a condition which has this value or that value (or this value AND that value). You don't need to add a section - you can simply copy the rules to each text box, but then labels still appear so I recommend putting them all in a section and adding your conditional formatting rules to the section.

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.