Enter data in Text Box using EVENT Mode

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.
Post Reply
techimac
Posts: 286
Joined: Fri Feb 20, 2015 9:27 pm

Enter data in Text Box using EVENT Mode

Post by techimac » Tue Feb 12, 2019 6:55 pm

Code: Select all

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:addressForm ATTR=ID:city CONTENT=city
TAG POS=2 TYPE=INPUT:TEXT FORM=NAME:addressForm ATTR=ID:city CONTENT=city

EVENT TYPE=CLICK SELECTOR="#city" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#city" CHARS="acity"
EVENT TYPE=CLICK SELECTOR="#cityname>SPAN>DIV>DIV>DIV" BUTTON=0
Normal Mode is not entering text
so tried EVENT Mode

But problem is its same code for both text boxes

When I run EVENT Mode code, only 1st text box is filled twice

Windows 8.1
iMacros 8.9.7
Firefox 52
Post Reply