How to Concat two values together in another control - InfoPath Dev
in

InfoPath Dev

How to Concat two values together in another control

Last post 04-23-2012 10:37 AM by ironman99. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-23-2012 07:33 AM

    How to Concat two values together in another control

    Hi. I'm trying to add two string together on the click of the button those values are added to another textbox control. Also, is there any good resources to infopath "functions".... example of what I'm trying to do: txt box 1: value txt box 2: value button (add) txt box 3: value1; value2; so, each time the user clicks 'add' the values will be added to the txt box3. Thanks,
    Filed under: , ,
  • 04-23-2012 09:07 AM In reply to

    Re: How to Concat two values together in another control

    The concat function should do this for you:

    concat(txtbox3, "; ", txtbox1, "; ", txtbox2)

    Using the field picker to select the field - I'm assuming you are wanting to add 1 and 2 to whatever is in 3 already - the formlua above will have txtbox3 starting with a ";", so you may want to use conditions, use that formula if txtbox3 is not blank, and this if it is:

    concat(txtbox1, "; ", txtbox2)

    Here's a function reference. It is for IP 2003, but most of the basics remain unchanged between versions.

    Hilary Stoupa

  • 04-23-2012 10:37 AM In reply to

    Re: How to Concat two values together in another control

    thanks,
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.