Prevent deletion of first section of repeating section - InfoPath Dev
in

InfoPath Dev

Prevent deletion of first section of repeating section

Last post 06-08-2012 09:51 AM by Anson Hidajat. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-07-2012 01:51 AM

    Prevent deletion of first section of repeating section

    I want to stop the user deleting all sections because then he won't see the red asterisks telling him the section's fields are compulsory.

    Is this possible without adding my own button and code?

    Filed under:
  • 06-08-2012 09:51 AM In reply to

    Re: Prevent deletion of first section of repeating section

    Don't think there is an easy to do this without writing code or cracking open the xsn.  Have you considered creating your own asterisk outside of the control?  You can have a red asterisk in a calculated value control show/hide using rules that figure out whether there is at least one entry in the repeating section.  Maybe that will work out for you.
    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The 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.