Optional Section - InfoPath Dev
in

InfoPath Dev

Optional Section

Last post 04-30-2006 03:58 PM by SamDahl. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-28-2006 08:25 AM

    • sagiw
    • Not Ranked
    • Joined on 03-31-2006
    • Posts 10

    Optional Section

    Hello,
    I wanted to know if it is possible that whan I fill text in a textbox, an Optional Section will open automticly.
    I'm using JS, in infopath.

    Thank you
  • 04-28-2006 11:01 AM In reply to

    Hi,
    There are two ways you do it,
    1. Insert the control using
    XDocument.View.ExecuteAction("xOptional::insert", "ctrlid");
    ctrlid - is the id of your optionalsection.

    You can write this peace of code in OnAfterChange event of the checkbox.

    2. Prepare the XML node and add it you DOM using some code.


  • 04-30-2006 03:58 PM In reply to

    • SamDahl
    • Top 500 Contributor
    • Joined on 03-28-2006
    • Australia
    • Posts 44
    You might find this topic useful: ;-)

    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=623
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.