navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Don't pass Radio button Value

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Expression Web Help >> Don't pass Radio button Value
Page: [1]
 
shoky

 

Posts: 25
Joined: 9/13/2005
Status: offline

 
Don't pass Radio button Value - 11/10/2007 11:56:51   
I have a form where users select from Radio buttons. The last selection is other. When you select other a text box appears for user input. How do I get just the text input passed? Say you type IT Company in the box. What I'm getting is Other, IT Company. How can I get rid of the word Other and the Comma? Also if I select one the named Radio Buttons - I get Contractor, How do I get rid of the Comma in this case?

Here's a link: http://efire.info/cust_service.aspx

Any Ideas?!
William Lee

 

Posts: 1137
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: Don't pass Radio button Value - 11/10/2007 20:17:35   
The reason why you are getting the Comma is because the textbox is named the same as the Radio buttons. When you submit the form, they are sent over as array. eg Customer_Type(Other, IT Company) or Customer_Type( Contractor, ) The value in the textbox is sent as well even though it is empty.

_____________________________

William Lee


(in reply to shoky)
shoky

 

Posts: 25
Joined: 9/13/2005
Status: offline

 
RE: Don't pass Radio button Value - 11/10/2007 22:06:34   
Thanks! That was the Comma problem - I was just trying to send the 'Other' text as the Customer_Type - but I think I can work with it as is now.

Thanks again!:)

(in reply to William Lee)
Page:   [1]

All Forums >> Web Development >> Expression Web Help >> Don't pass Radio button Value
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts