Reverse Concat a Field - InfoPath Dev
in

InfoPath Dev

Reverse Concat a Field

Last post 04-20-2010 10:32 PM by Qazi Anis. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-20-2010 03:13 PM

    Reverse Concat a Field

    Is there a way to take a field that contains set information and disperse different sections of the information to several different fields?  For example, let’s say that I have four fields.  The first field is called input1, the next three fields are called receive1, receive2, receive3.  A user types 123 into input1 and the information is distributed to receive1, receive2, receive3.

    Input1 (Contains this data)
    123

    This information is broken apart and received by the remaining three fields

    Receive1
    1

    Receive2
    2

    Receive3
    3

    Any ideas?


    Thanks,


    Bryan C. Smith

  • 04-20-2010 10:32 PM In reply to

    you can use substring function to achieve this.

    syntax : substring(field, start_from, length)

    set rules on the input1 field to set value of fields

    receive1 = substring(., 1, 1)

    receive2 = substring(., 2, 1)

    receive3 = substring(., 3, 1)

    receive4 = substring(., 4, 1)

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.