iMacros for Chrome - Enumerate Form

By Tyler on

This iMacro takes the current loop number, zerofills it, inserts the value into a text box, and then submits the form. Requires iMacros for Chrome.

TAG POS=1 TYPE=INPUT:TEXT FORM=ID:form_id ATTR=ID:input_text_id CONTENT=EVAL("('0000' + {{!LOOP}} ).slice(-4);")
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:form_id ATTR=ID:input_submit_id
WAIT SECONDS=1

If zerofilling isn’t necessary, replace the text after CONTENT= with {{!LOOP}}.