Chamberofcommerce.com Help

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 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
jfj3rd
Posts: 43
Joined: Thu Dec 17, 2009 5:23 pm
Location: Riverside CA
Contact:

Chamberofcommerce.com Help

Post by jfj3rd » Wed Jun 30, 2010 4:43 pm

Hello all,

I'm trying to take my client information and submit via iMacros to https://www.chamberofcommerce.com/add-business/

I'm running into an issue when I get to the state field. I can't seem to get my EXTRACT to work correctly. I've tried using the % and $ after CONTENT= just for the heck of it and that doesn't work either.

Here is the current scrape code: (Note: Scrape result is state initial (CA))

Code: Select all

' --- Add State ---
TAB T=2
TAG POS=1 TYPE=TD ATTR=TXT:City<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>State<SP><SP><SP>Zip<SP>   
TAG POS=R1 TYPE=INPUT:TEXT FORM=NAME:Form1 ATTR=ID:txtAddressState EXTRACT=TXT
SET !VAR3 {{!EXTRACT}}
SET !EXTRACT NULL

TAB T=3
TAG POS=1 TYPE=SELECT FORM=NAME:Form ATTR=NAME:dnn$ctr484$AddBusiness$ctlBasicInformation$ddlState CONTENT={{!VAR3}}
SET !EXTRACT NULL
I'm stumped, any advise?

- John
--

Warmest Wishes,

John F. Jones III
Tom, Tech Support
Posts: 3498
Joined: Mon May 31, 2010 4:59 pm

Re: Chamberofcommerce.com Help

Post by Tom, Tech Support » Sun Jul 11, 2010 11:39 am

Hello John,

I'm just a little bit confused by what you are trying to do. Are you trying retrieve the value of the State field, or are you trying to set the value of this field? On the one hand you say you want to 'submit' your client data (which implies setting values) but then you ask about scraping and extracting (which implies retrieving values).
Regards,

Tom, iMacros Support
Post Reply