Jump to content
UBot Underground

clear textbox on a webform?


Recommended Posts

Hi folks

 

I have a web form i need to complete to place orders. i need to:

 

1. Click a checkbox

2. Put a qty in a text box.

 

Problem is after clicking the checkbox the text box defaults to one, and when I use the Type text Command it is turning 20 into 121

 

is there a command to clear a field before typing into it?

Link to post
Share on other sites

Can you check the box first, then use the change attribute command with a "New

Value" of $nothing to clear it and then enter the text you need input into the box?

 change attribute(<id="your-element-here">, "value", $nothing)
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...