Inhibiting structure changes in Choice Section - InfoPath Dev
in

InfoPath Dev

Inhibiting structure changes in Choice Section

Last post 07-05-2007 02:19 AM by nukkumatti. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-05-2007 09:25 AM

    Inhibiting structure changes in Choice Section

    Hi,

    I have a schema that involves repeating choice groups and recursive sections.  InfoPath allows me to create a form that can display these structures properly.  The only problem, so far, is that I only want the users to be able to update the fields at the various levels, but I don't want them to be able to change the existing structure, i.e.  I don't want the user to be able to insert, replace or delete any sections.  Choice section properties pages don't include the option to disallow users from inserting or deleting choice sections.  I tried using the "Customize Commands" button and deselecting all of the commands, but when I preview the form in Visual Studio 2005, it still allows the choice sections to be added and deleted.  Is there a way to accomplish this? 

    Thanks in advance!

     

  • 07-05-2007 02:19 AM In reply to

    Re: Inhibiting structure changes in Choice Section

    My only idea is to open the manifest file with an editor and search for the xsf:fragmentToInsert statement of your section. If you delete them users won't be able to change your structure anymore. However I don't know if this will work with repeating choice groups and when your datasource is coming from an existing schema. As mentioned just an idea. Make sure to back up your project before you do any changes to your manifest file.
    Listen to Motörhead cos they play Rock'n Roll :)
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.