How do you update a field that already has data to support a different format - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How do you update a field that already has data to support a different format

Last post 01-25-2016 05:28 PM by Kaoru Okumura. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-25-2016 07:28 AM

    • codyc
    • Not Ranked
    • Joined on 01-25-2016
    • Posts 1

    How do you update a field that already has data to support a different format

    Hello, Im looking to update a field, inputted by a user, that would re-format the field after input. Example: User inputs 1234 Output: A1234C01 As you can see, i want to use the input to produce the Output. The Output would always have the same format as example "A C01" Is this possible?
  • 01-25-2016 05:28 PM In reply to

    Re: How do you update a field that already has data to support a different format

    There might be several ways to do that.... see attached sample form.

    Solution 1:  if you can have output in different field, this is most common style -- Create another field, say 'reformatted', and set its default value as  concat("A", UserInput, "C01")

    Solution 2: if it is essential to use the same field and overwrite it, I'd set a rule at the timing of Submit. also added a status field, so that updated fields will not be applied the concatenation again.. 

     

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