How to delete the values of a textfield in a repeating section that is getting his values from a multiple list box - InfoPath Dev
in

InfoPath Dev

How to delete the values of a textfield in a repeating section that is getting his values from a multiple list box

Last post 08-15-2014 03:49 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-14-2014 01:50 AM

    • dogi80
    • Not Ranked
      Male
    • Joined on 08-08-2014
    • Posts 2

    How to delete the values of a textfield in a repeating section that is getting his values from a multiple list box

    Hi,

    I have one textfield and one multi select list box in a repeating section.
    The textfield is getting all the values from the multi select list box. If I add a new section, all the checkboxes from the multi select list box are unchecked, which is fine. But the textfield is still having the same values from the section above, which is not fine.

    My problem is, how can I delete this existing values from the textfield, if I add a new section.

    In attached you will find an example for my problem.

    I hope, that someone can help me.

    thanks!

    dogi

    https://www.wetransfer.com/downloads/4bf1d8408f2140176b0de69a3dc6a58f20140814083903/013ad256904f2c2ba50f667333f35cb820140814083903/726d91

  • 08-15-2014 03:49 PM In reply to

    Re: How to delete the values of a textfield in a repeating section that is getting his values from a multiple list box

    Hi - even after modifying your formula so that it should just have the values for the multi-select in a given section:

    substring(xdMath:Eval(xdMath:Eval(../my:multipleList[. != ""], 'concat(";", .)'), ".."), 2)

    I still had some weird behavior - but I've seen issues using double eval with multi-selects before.

     

    Hilary Stoupa

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