Repeating section disable delete

Posted on 2011-04-26
Last Modified: 2012-05-11

I have a repeating section on the form that lets the user delete the control completely when it is selected and when the Delete key is pressed. How can I prevent this default behaviour of the repeating section? I tried conditional formatting but the option there is combined with insert options. Can i achieve this with some custom c# code?

Any help is appreciated.
Question by:Techsavy
    1 Comment
    LVL 15

    Accepted Solution

    No code required, just modify the properties of the repeating section.

    Right click the repeating section > Repeating Section Properties > Under the default settings select the section's name and click "Modify" > Click "Customize Commands" > Select "Remove" from the action dropdown at the top > uncheck any boxes that are checked.  Click ok all the way through and they should no longer be able to remove the control.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
    I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now