New User? Need help? Click here to register for free! Registering removes the advertisements.

Computer Cops
image image image image image image image image
Donations
If you found this site helpful, please donate to help keep it online
Don't want to use PayPal? Try our physical address
image
Prime Choice
· Head Lines
· Advisories (All)
· Dnld of the Week!
· CCSP News Ltrs
· Find a Cure!

· Ian T's (AR 24)
· Marcia's (CO8)
· Bill G's (CO12)
· Paul's (AR 5)
· Robin's (AR 2)

· Ian T's Archive
· Marcia's Archive
· Bill G's Archive
· Paul's Archive
· Robin's Archive
image
Security Central
· Home
· Wireless
· Bookmarks
· CLSID
· Columbia
· Community
· Downloads
· Encyclopedia
· Feedback (send)
· Forums
· Gallery
· Giveaways
· HijackThis
· Journal
· Members List
· My Downloads
· PremChat
· Premium
· Private Messages
· Proxomitron
· Quizz
· RegChat
· Reviews
· Google Search
· Sections
· Software
· Statistics
· Stories Archive
· Submit News
· Surveys
· Top
· Topics
· Web Links
· Your Account
image
CCSP Toolkit
· Email Virus Scan
· UDP Port Scanner
· TCP Port Scanner
· Trojan TCP Scan
· Reveal Your IP
· Algorithms
· Whois
· nmap port scanner
· IPs Banned [?]
image
Survey
How much can you give to keep Computer Cops online?

$10 up to $25 per year?
$25 up to $50 per year?
$10 up to $25 per month?
$25 up to $50 per month?
More than $50 per year?
More than $50 per month?
One time only?
Other (please comment)



Results
Polls

Votes: 1180
Comments: 21
image
Translate
English German French
Italian Portuguese Spanish
Chinese Greek Russian
image
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin   Your Favorite ForumsFavForums 

Problem with checkboxes

 
Post new topic   Reply to topic       All -> FavForums -> Proxomitron General
View previous topic :: View next topic  
Author Message
Xhrist

Guest






PostPosted: Tue Jan 27, 2004 5:53 pm    Post subject: Problem with checkboxes
Reply with quote

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
Sergeant



Joined: Oct 18, 2003
Posts: 149

PostPosted: Tue Jan 27, 2004 5:55 pm    Post subject:
Reply with quote

What's the page?

I can probably write something for you Very Happy
Back to top
View users profile Send private message
Xhristb

Guest






PostPosted: Tue Jan 27, 2004 6:02 pm    Post subject: The Site is...
Reply with quote

http://outlet.us.dell.com/Dispatcher?ta...tail=offer

Thanks
Kye-U
Back to top
Kye-U

Sergeant
Sergeant



Joined: Oct 18, 2003
Posts: 149

PostPosted: Tue Jan 27, 2004 11:14 pm    Post subject:
Reply with quote

I can't connect to that site :S

Can you provide another? Or paste the source code of the FORM here? ^_^
Back to top
View users profile Send private message
Guest








PostPosted: Wed Jan 28, 2004 12:43 am    Post subject:
Reply with quote

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
Cadet



Joined: Jan 27, 2004
Posts: 2
Location: USA

PostPosted: Wed Jan 28, 2004 1:48 am    Post subject:
Reply with quote

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
View users profile Send private message
Kye-U

Sergeant
Sergeant



Joined: Oct 18, 2003
Posts: 149

PostPosted: Wed Jan 28, 2004 1:59 am    Post subject:
Reply with quote

Auto-refresh every 2 seconds you say?

Put this somewhere in the Replacement:

Code:

<meta http-equiv="refresh" content="2">


You're gold now Very Happy
Back to top
View users profile Send private message
Xhristb2

Cadet
Cadet



Joined: Jan 27, 2004
Posts: 2
Location: USA

PostPosted: Wed Jan 28, 2004 2:16 am    Post subject: Your the man
Reply with quote

Now my laptop is going to hunt for my new desktop while I sleep.

Kye-U the man!

lol

Thanks Again
Back to top
View users profile Send private message
WheresTheCash

Cadet
Cadet



Joined: May 15, 2004
Posts: 1
Location: USA

PostPosted: Sat May 15, 2004 2:25 am    Post subject: Script needed please
Reply with quote

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
View users profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       All -> FavForums -> Proxomitron General All times are GMT - 5 Hours
Page 1 of 1

 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.8a © 2001 phpBB Group

Version 2.0.6 of PHP-Nuke Port by Tom Nitzschner © 2002 www.toms-home.com
Version 2.2 by Paul Laudanski © 2003-2004 Computer Cops