View previous topic :: View next topic |
Author |
Message |
Xhrist
Guest
|
Posted: Tue Jan 27, 2004 5:53 pm Post subject: Problem with checkboxes |
|
|
Hey all,
I'm having problems with a page checkboxes. The page has 10 boxes but I only want to select the first five. This is the code I'm using to select them all but I can't seem to figure out how to only get what I want. It's all or nothing for me right now! lol
BOUNDS MATCH
<(|nput)*>
MATCHING EXPRESSION
\1 type="checkbox"\2
REPLACMENT TEXT
\1 type="checkbox" CHECKED \2
Thanks |
|
Back to top |
|
|
Kye-U
Sergeant
Joined: Oct 18, 2003
Posts: 145
|
Posted: Tue Jan 27, 2004 5:55 pm Post subject: |
|
|
What's the page?
I can probably write something for you |
|
Back to top |
|
|
Xhristb
Guest
|
Posted: Tue Jan 27, 2004 6:02 pm Post subject: The Site is... |
|
|
http://outlet.us.dell.com/Dispatcher?ta...tail=offer
Thanks
Kye-U |
|
Back to top |
|
|
Kye-U
Sergeant
Joined: Oct 18, 2003
Posts: 145
|
Posted: Tue Jan 27, 2004 11:14 pm Post subject: |
|
|
I can't connect to that site :S
Can you provide another? Or paste the source code of the FORM here? ^_^ |
|
Back to top |
|
|
Guest
|
Posted: Wed Jan 28, 2004 12:43 am Post subject: |
|
|
You could add four copies of
Code: |
[Patterns]
Name = "Check one box at Dell"
Active = TRUE
URL = "outlet.us.dell.com/Dispatcher\?target\=InventoryPage\&action"
Limit = 70
Match = "<input type="checkbox" \1>"
Replace = "<input type="checkbox" CHECKED \1>$STOP()"
|
to your config.
If you are using Proxomitron4.5
Code: |
[Patterns]
Name = "Check first 4 boxes at dell"
Active = TRUE
URL = "outlet.us.dell.com/Dispatcher\?target\=InventoryPage\&action"
Limit = 70
Match = "$TST(count=1111)$SET(count=)$STOP()|"
"(<input type="checkbox")\#$SET(#= CHECKED )\1(>)\#"
"$SET(count=$GET(count)1)"
Replace = "\#\#\1\#"
|
Sample
Code: |
<input type="checkbox" value="DDDVDFM5" name="selectedSystems"> |
HTH
|
|
Back to top |
|
|
Xhristb2
Cadet
Joined: Jan 27, 2004
Posts: 2
Location: USA
|
Posted: Wed Jan 28, 2004 1:48 am Post subject: |
|
|
GOt it going. Went the four copies route and it runs good. Now if I could get the page to auto refresh every 2 secs I'd be golden! lol
Thanks alot Kye-U |
|
Back to top |
|
|
Kye-U
Sergeant
Joined: Oct 18, 2003
Posts: 145
|
Posted: Wed Jan 28, 2004 1:59 am Post subject: |
|
|
Auto-refresh every 2 seconds you say?
Put this somewhere in the Replacement:
Code: |
<meta http-equiv="refresh" content="2">
|
You're gold now
|
|
Back to top |
|
|
Xhristb2
Cadet
Joined: Jan 27, 2004
Posts: 2
Location: USA
|
Posted: Wed Jan 28, 2004 2:16 am Post subject: Your the man |
|
|
Now my laptop is going to hunt for my new desktop while I sleep.
Kye-U the man!
lol
Thanks Again |
|
Back to top |
|
|
WheresTheCash
Cadet
Joined: May 15, 2004
Posts: 1
Location: USA
|
Posted: Sat May 15, 2004 2:25 am Post subject: Script needed please |
|
|
I set mine up to select the top 2 boxxes. Would there be a way that I could make it automatically add those 2 systems to my cart IF they are below a specified price (example $275)? To add them to the cart, all that is needed is to press "enter" on the keyboard once any boxxes are "checked". I like doing my own refreshing of the page because I just hit the "submit search" button and it refreshes quicker than a refresh of the whole page. Thanks in advance for any help. |
|
Back to top |
|
|
|