Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
Paul1 #1
Help with online form
Hi all,
The Colfdusion applications I write are pretty basic stuff so I?m still very
much a beginner:
Sometime ago I created an online voting form.
The candidates varied as the form is used regularly for different elections so
candidates are inputted into a MySql table and then coldfusion is used to
create a form using these values inputted into a drop down list. The voters
simply select their choice, which is inputted into a results table
This has worked fine but I've now been asked to create the voting form in such
a way that voters must select four candidates rather than one!
This is where I'm asking you advice:
I could have four lists but it would mean that voters could vote for the same
candidate more than once.
I thought of cfm generating a list of candidates with radio buttons next to
them for selection but that only allows one selection... Tick boxes can be any
number of selections. I could use radio buttons and run the applications four
times I guess but that seems a bit laborious.
Any advice would be welcome.
Thanks,
Paul.
Paul1 Guest
-
How do you submit an online form?
I am using Contribute to edit our webpage, it has been fine for what we've needed so far, but that has been very basic stuff. We're now wanting to... -
Online Form to PDF
I was wondering if there was a way to, once a form has been submitted, to export a pre made PDF document that the user can print off and send in... -
Online Acrobat Form?
Hi- I am trying to figure out if this is possible. We have a one page questionnire (form). I need to be able to send it out via the web and have... -
online form to print?
Ok, I did some searching but could not find exactly what I am needing. I want to design a online form that someone can go to my website and fill... -
Online Form Help Please
I?m attempting to use the drag/drop behavior formsunder internet/forms to create a standard online form for a web site. Under form post-Field... -
Stressed_Simon #2
Re: Help with online form
Use Checkboxes. Then when they submit the form use CF to check that they have
chosen the correct number. Also, you can use JavaScript as well but still
definitely use the CF check as JavaScript can be turned off!
Stressed_Simon Guest
-
cscalzo #3
Re: Help with online form
If you want to still use the drop down list you could setup a cfif statement to
check to see if the voters selected the candidates name multipule times before
your form sends the information. if they did alert them to select 4 different
candidates.
cscalzo Guest
-
Paul1 #4
Re: Help with online form
Cheers all......I find the biggest problem with being a self taught beginner isn't CF (It seems pretty straightforward). It is sussing out how to go about things...
Thanks,
Paul.
Paul1 Guest



Reply With Quote

