Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
CF-Server
Cold Fusion Server Tech
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Cold Fusion :
product's home
product's list home
 
  Archived TallyList / CF-Server: 
Subject: Dynamic Form Variable Names
derekwork (11p/+0r)     Posted: Monday 12 Feb 2001
This post: 51 views, +0 rating

Hello!

I'm hoping for some insight on displaying a dynamic number of form radio buttons. Since I don't know how many I have to have a dynamic way of naming them. That's not a problem, I just append a number to the end of the regular name: name="action#index#".

The problem comes when I want to reference these names on the submission page. If I try something like <cfif #action... It will just come back that it is an invalid variable name.

I'm wondering how other people have solved a similar problem? Any suggestions would be appreciated!

Thanks

Derek Hamilton Systems Developer

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm ------------------------------------------------------------------------------ To unsubscribe, send a message to cf-server-request@houseoffusion.com with 'unsubscribe' in the body or visit the list page at www.houseoffusion.com


Similar Subject Line Posts (+/- two weeks of this post)
RE: Dynamic Form Variable Names  13 Feb 2001   (33 v/ +0 r)
RE: Dynamic Form Variable Names  12 Feb 2001   (33 v/ +0 r)
RE: Dynamic Form Variable Names  12 Feb 2001   (50 v/ +0 r)
Dynamic Form Variable Names  12 Feb 2001 (this post)   (51 v/ +0 r)
 

Send a reply to the CF-Server list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000