[Help, new] Trying to loop online form submission

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Agandam
Posts: 1
Joined: Wed May 16, 2018 11:02 pm

[Help, new] Trying to loop online form submission

Post by Agandam » Wed May 16, 2018 11:08 pm

Read code comments for details (if you think I should download a different browser to make this work, I will gladly do so).

So, my code looks something like this:

VERSION BUILD=1001 RECORDER=CR
URL GOTO= 'link blanked for privacy
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:userForm ATTR=NAME:userId CONTENT= 'username blanked for privacy
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:userForm ATTR=NAME:password CONTENT= 'password blanked for privacy
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:userForm ATTR=*
TAG POS=1 TYPE=BUTTON ATTR=TXT:Edit
TAG POS=1 TYPE=IMG ATTR=ID:tcalico_0
TAG POS=2 TYPE=TD ATTR=TXT:29
TAG POS=1 TYPE=IMG ATTR=ID:tcalico_1
TAG POS=2 TYPE=TD ATTR=TXT:30
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:headerForm ATTR=ID:home 'trouble line (submit takes me away from the form to the submission page, but doesn't complete submission).

'I would like to loop the entire 14-line routine if possible. Thank you! :)
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: [Help, new] Trying to loop online form submission

Post by chivracq » Thu May 17, 2018 2:51 am

Agandam wrote:Read code comments for details (if you think I should download a different browser to make this work, I will gladly do so).

So, my code looks something like this:

Code: Select all

VERSION BUILD=1001 RECORDER=CR
URL GOTO= 'link blanked for privacy
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:userForm ATTR=NAME:userId CONTENT= 'username blanked for privacy
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:userForm ATTR=NAME:password CONTENT= 'password blanked for privacy
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:userForm ATTR=*
TAG POS=1 TYPE=BUTTON ATTR=TXT:Edit
TAG POS=1 TYPE=IMG ATTR=ID:tcalico_0
TAG POS=2 TYPE=TD ATTR=TXT:29
TAG POS=1 TYPE=IMG ATTR=ID:tcalico_1
TAG POS=2 TYPE=TD ATTR=TXT:30
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:headerForm ATTR=ID:home 'trouble line (submit takes me away from the form to the submission page, but doesn't complete submission).
'I would like to loop the entire 14-line routine if possible. Thank you! :)
FCIM...! :mrgreen: (Read my Sig...)
=> iMacros for CR v10.0.1...?, Free/PE...?, CR66...?, OS...?
('PE' = 'Personal Edition')

To be honest, I don't really understand your Pb..., if you are indeed using iMacros for CR v10.0.1, simply use the 'Loop' Functionality from the iMacros Side/Dock-Panel I would think... :?
The Difference between the 'Free'/'PE' Versions is that the 'Free' Version is limited to looping your Script 50 times.

And you mention a "14-line routine" but your complete Script only contains 12 Lines...!? :?
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
Post Reply