locked
how to set default value by using Rules in Inpathform 2010 RRS feed

  • Question

  • hi,

    how to set default value by using Rules in Inpathform 2010

    thanks

    Kushal

    Friday, July 15, 2011 11:27 AM

Answers

  • Hi Kushal,

                    Please follow the steps provided below to set the default value for a field

     

    1) Open the Infopath Designer and create the form with the fields in the form

    2) Once you have the fields on the form click on the Advanced Link on the bottom of the field pane

    3) The pane will expose the fields in a tree view

    4) Right click on the field to which you want to apply the rule

    5) In the menu you will find the Rules option, Click on the Rules option

    6) In the Rules Pane you can create a rule for the field, Click on Add button next to run these action

    7) Click on the first option "Set a field Value"

    8) In the Action select "Set a field value"

    9) Select the field for which you want to set the value and then select the value that you want to set

    Please let me know if it helps!


    Ajeet
    Wednesday, July 20, 2011 4:42 AM

All replies

  • Rules are created to varify the input from the user and perform action accordingly. To set the default value in the fields pane in the right hand side click on the "Show Advanced View", double click on the field there you can find the option for the default value.


    Ajeet
    • Proposed as answer by Ajeet Nigam Friday, July 15, 2011 11:36 AM
    Friday, July 15, 2011 11:36 AM
  • Hi Kushal,

                    Please follow the steps provided below to set the default value for a field

     

    1) Open the Infopath Designer and create the form with the fields in the form

    2) Once you have the fields on the form click on the Advanced Link on the bottom of the field pane

    3) The pane will expose the fields in a tree view

    4) Right click on the field to which you want to apply the rule

    5) In the menu you will find the Rules option, Click on the Rules option

    6) In the Rules Pane you can create a rule for the field, Click on Add button next to run these action

    7) Click on the first option "Set a field Value"

    8) In the Action select "Set a field value"

    9) Select the field for which you want to set the value and then select the value that you want to set

    Please let me know if it helps!


    Ajeet
    Wednesday, July 20, 2011 4:42 AM