Jump to content
UBot Underground

[SOLVED]:Clearing an input box


Recommended Posts

Hi all,

 

Im having difficulty clearing an input box and wondered if you could give me a little guidance.

 

The box in question is the L one.

 

ui block text("Litre Arounds", #litres)
clear list(%litres)
add list to list(%litres, $list from text(#litres, $new line), "Delete", "Global")
set list position(%litres, 0)
loop($list total(%litres)) {
   navigate("https://www.jonesoil.ie/shopping-cart/", "Wait")
   wait(2)
   change dropdown(<name="oil">, "Kerosene")
   wait(2)
   type text(<name="quantity">, $next list item(%litres), "Standard")
   click(<id="calculatenow">, "Left Click", "No")
   wait(1)
}

 

 

 

 

 

Here are the values to go into the Block text box:

250

300

350

400

450

500

550

600

650

700

750

800

850

900

950

1000

 

 

 

Thanks in advance guys and gals

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

any other ideas if change attribute isn't working?

 

for some reason...

 

the change attribute (value) isn't taking effect...

 

but when i do type text, it works... except i can't clear the text box before typing

Link to post
Share on other sites

any other ideas if change attribute isn't working?

 

for some reason...

 

the change attribute (value) isn't taking effect...

 

but when i do type text, it works... except i can't clear the text box before typing

Need to be a little more specific to get better guidance and answers. What is the site you are having trouble with and the specific field that change attribute isn't working for...

Link to post
Share on other sites

solved. for anyone else interested... use {BS} for backspace and {BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}

 

to clear whatever you want in the input box :)

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...