Jump to content
UBot Underground

Still no way to gather user input with dialog boxes ?


Recommended Posts

Hi Guys,

 

Well I know that I can forget Javascript Alerts with version 4 and due to various issues I won't actually use the version 4 for the next 3-6 months...

 

Anyway, I found a thread from Frank a long time ago about Dialog Boxes to collect user input (e.g. ask the user Yes or No and continue or stop the script depending on the answer).

 

Is it still something that has never been implemented in version 3.5.x ?

 

Is there a workaround please ?

 

Thanks,

 

Cheers,

Link to post
Share on other sites
  • 4 weeks later...

Make some javascript code that changes the value of a hidden field on the page. You can then use this in your logic to create different actions determined by user selection.

 

You could use a waitfor command to discover when they have made choice but this is very buggy.

 

The way I do it is I add in a pause, and after any choice is made I make text appear in window telling them to click play to continue.

 

Its haphazzard but works. I use this for sakiving logs after an operation completes. As often an operation will fail for some reason, i output message saying "if operation completed successfully click play to save".

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...