Problem with "Set a field's value" - InfoPath Dev
in

InfoPath Dev

Problem with "Set a field's value"

Last post 06-19-2006 02:24 AM by liorlankri. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 06-17-2006 11:12 PM

    Problem with "Set a field's value"

    I have Rule in my form that it's action is "Set a field's value".

    I want to set into Field3 the values of 2 other fields in my form with space between them, like : "field1 field2"

    How to do it (with out code)?
    What should be the Formula for this?
  • 06-18-2006 10:27 AM In reply to

    Re: Problem with "Set a field's value"

    Hello,

    The formula for setting a value into Field3 with the values from Field1 and Field2 with a space between them is
    <concat(field1, " ", field2)>
    Kalyan G Reddy
    Infopath MVP 2007 and 2008
  • 06-18-2006 10:08 PM In reply to

    Re: Problem with &quot;Set a field's value&quot;

    I try it. It's not work. I get in Field 3 onle the value of Field1.
  • 06-18-2006 10:11 PM In reply to

    Re: Problem with &quot;Set a field's value&quot;

    By the way. Field1 and Field2 are in the same view ("View 1") and Field 3 is in "View 2".
  • 06-18-2006 10:38 PM In reply to

    Re: Problem with &quot;Set a field's value&quot;

    Hello
    Follow these steps

    1) Double Click on the Field 3 to open the properties
    2) In the Data tab -> default Value Click on fx at the end of the field
    3) In the formula box Type <concat(field1, " ", field2)> be sure that you map field1 and Field2 to the fields in the datasource.
    4)Use insert field or group button to map the fields
    5) Select the check box update this value when the result of the formula is calculated.
    Click Ok on the window.

    Hope this will help you.
    Kalyan G Reddy
    Infopath MVP 2007 and 2008
  • 06-19-2006 02:24 AM In reply to

    Re: Problem with &quot;Set a field's value&quot;

    Thank's
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.