Tony5895 2 Posted September 8, 2017 Report Share Posted September 8, 2017 With Load HTML I present the user with some choices through radio buttons. If user selects anything, how can Ubot read now which choice was made? See picture please Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted September 8, 2017 Report Share Posted September 8, 2017 You can use "$scrape attribute" to get the value's. Not sure what you are doing however, you may take a look at the UI Drop Down command and use "if" and "else if" commands instead. ui drop down("Choose a page:","page 1,page 2,page 3",#UI_DD_pages) if($comparison(#UI_DD_pages,"= Equals","page 1")) { then { alert("page 1") } else if($comparison(#UI_DD_pages,"= Equals","page 2")) { alert("page 2") } else if($comparison(#UI_DD_pages,"= Equals","page 3")) { alert("page 3") } } comment("use navigate command instead with url.") Regards,CD 1 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted September 8, 2017 Report Share Posted September 8, 2017 How to use $scrape attribute http://network.ubotstudio.com/forum/index.php/topic/21244-understanding-scrape-attribute-vs-find-regular-expression-and-properly-using-the-element-editor/?do=findComment&comment=130631 Regards,CD 1 Quote Link to post Share on other sites
Tony5895 2 Posted September 8, 2017 Author Report Share Posted September 8, 2017 thanks guys, $scrape attribute using "checked" did do it Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.