Jump to content

value set on a combo-box gets refreshed after hitting on save button

Recommended Posts

Hello Guys,


I have a combo-box and i need to set the value "Boeing commercial 767 ", it gets set for that value .However when i hit on save button its comes back to default value that is Boeing commercial 777.

Here is my code.

;Set the Program

Local $oIENew = _IEAttach("https://www.net-inspect.com/FAIRForm1.aspx","url")

_IEFormElementOptionSelect($oControl,$cboProgram,1,"byText")  ; Here $cboProgram is "Boeing commercial 767 ", i'm taking it dynamically from an excel sheet
 ConsoleWrite($cboProgram &@CRLF )   ;gives Boeing commericial 767 


; Hit on Save button




is there anything that i'm missing?




SaveButton png.png


Link to post
Share on other sites

Hello  ,

Thank you all for your reply .


i had to add 5th parameter  that is 0 , which means do not fire onclick. 

Happy Learning!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...