JScript (.js) Dropdown - How to clear the values? - InfoPath Dev
in

InfoPath Dev

JScript (.js) Dropdown - How to clear the values?

Last post 12-21-2010 04:50 AM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-20-2010 06:30 AM

    JScript (.js) Dropdown - How to clear the values?

    Hi,

     I have a Infopath form containing a 'Dropdown' and 'Clear' button controls.

    The Dropdown is populated using the secondary data connection.

    Now on click of the Clear button it needs to clear the drop down values through .js (JScript).

    I don't want to hit the database again to run a dummy query to clear the values.

    THROUGH JSCRIPT (.JS) HOW TO CLEAR THE DROPDOWN VALUES?

     Krish TS

  • 12-21-2010 04:50 AM In reply to

    Re: JScript (.js) Dropdown - How to clear the values?

    Why not just set the value of the dropdown field to "" using a rule? Shouldn't require code.

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