Making the first node in a repeating section read only - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Making the first node in a repeating section read only

Last post 08-19-2009 04:06 AM by Qazi Anis. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 08-06-2009 07:33 AM

    Making the first node in a repeating section read only

    Sorry I keep pestering you guys but it's a very useful forum!

    I have a logging tool that will be used by our I.T Help Desk to log requests. I have included a repeating section with text fields. I would like to make the first text field within the repeating section read only and my collegues and then insert a new item to fill out more information.

    Is this possible?

  • 08-06-2009 01:41 PM In reply to

    Re: Making the first node in a repeating section read only

    Use a condition with the expression position()="1" and make it read-only. You'll need to add that to all columns for the row.

    Patrick Halstead
    Project Manager at Qdabra
  • 08-07-2009 01:09 AM In reply to

    Re: Making the first node in a repeating section read only

    This is perfect!

     is there any way to add this expression to a button control so the text box will become read only?

  • 08-10-2009 04:06 AM In reply to

    Re: Making the first node in a repeating section read only

     

    Also, I have just noticed that when the text field is read only it can still be deleted. Is there any way to stop users deleting nodes from the repeating but still allowing them to insert a new node?

     I've seen a few things but these include coding and that is something I don't know much about.

  • 08-19-2009 04:06 AM In reply to

    Re: Making the first node in a repeating section read only

    yes you can prevent users from deleting nodes from repeating (table/section).

    go to properties of repeating (table/section).

    go to customize commands

    in actions drop down select remove and uncheck every thing from location of control multiselect list box.

    in actions drop down select remove all and uncheck every thing from location of control multiselect list box.

    this should solve your problem

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.