Skip to main content

Search

Parent - Child relationship - Expression for Open List Form

Comments

1 comment

  • ArdeviaForum

    Original Post by Andrii Katsiubka (Imported from Ardevia Forum)

    If I correctly understand you want to pass values from one form to another new form.
    Suppose we have list A which contains fields:

    • Name
    • Surname

    and Contact list with fields:

    • First Name
    • Last Name

    And suppose we want to set Name as First Name and Surname as Last Name on new form of  Contacts list.
    In this case we need to define Additional Query String for Open Form Action in following format:

    Code:

    name=[[Name]]&surname=[[Surname]]
    


    Then we need to configure New Form of Contacts list.
    In design mode open Behavior tab and in "On form load Actions" click Edit button and add  "Set form field action" for every parameter.
    e.g for "name" parameter and "First Name" field:

    • add "Set form field action",
    • set Form field value to "First Name"
    • set next expression for value
    • Code:
    [[@Page.GetQueryString("name")]]
    
    0

Please sign in to leave a comment.