InfoPath Form field Element ID's Keep Changing - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

InfoPath Form field Element ID's Keep Changing

Last post 12-02-2022 11:43 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-30-2022 05:34 AM

    InfoPath Form field Element ID's Keep Changing

    Is there any particular reason an elements id would keep changing if no changes have beem made to the form in design view? Example: id="ctl00_m_g_2cd39c29_ceed_4d60_864b_541d9f025a2b_FormControl0_V1_I1_S13_I3_T1" changes to: id="ctl00_m_g_2cd39c29_ceed_4d60_864b_541d9f025a2b_FormControl0_V1_I1_S13_I2_T1" Notice the I3 in the id changes to I2. I use JS to grab values from some of my forms and on one particular form it keeps changing back and forth like this for no reason. When I do make upgrades to the form I do expect and accomodate the change, however, when no changes are made I'm kind of baffled.
  • 12-02-2022 11:43 AM In reply to

    Re: InfoPath Form field Element ID's Keep Changing

    Ick. You could try saving the form as source files and in the view file, adding a class to the elements you need to grab via JS to work around this - but I don't have an answer to your question, I'm afraid.....
    Hilary Stoupa

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