How to enter a large amount of text into a text area field

Information related to the use of iMacros for form filling and data upload.

Moderator: iMacros Moderators

How to enter a large amount of text into a text area field

by Tom, Tech Support on Mon Sep 03, 2012 1:32 pm

Simple!

Just put all of the text into a CSV file. This is as easy as pasting the entire text into a text editor like Windows Notepad, then adding double-quote characters at the beginning and end of the text and saving it with a .csv extension. Of course if your text already includes double-quote characters within it, they will need to be escaped according to the rules of CSV files. It's also OK if the text contains line breaks.

Once the file is saved, you can reference it as a datasource for your macro.

Here is an example:

Code: Select all
TAB T=1
TAB CLOSEALLOTHERS
SET !DATASOURCE longText.csv
SET !DATASOURCE_LINE 1
URL GOTO=http://www.iopus.com/imacros/demo/v6/f1/form.asp
TAG POS=1 TYPE=TEXTAREA FORM=NAME:TestForm ATTR=NAME:Remarks CONTENT={{!COL1}}

longText.zip
longText.csv
(2.42 KIB) Downloaded 1039 times

For more information on using CSV files with iMacros, see Input from Comma Separated Data (CSV) File.
Regards,

Tom, iMacros Support
Tom, Tech Support
 
Posts: 3300
Joined: Mon May 31, 2010 9:59 am

Return to How-To's and Examples for Form Filling

Who is online

Users browsing this forum: No registered users and 1 guest

-->