CFM
- Started
- Last post
- 5 Responses
- mikeim
We have just been hired to design a web page for users to subscribe to a newsletter. We are going to use an existing form on their site that uses Cold Fusion.
They are going to need to additional forms fields. Can I just add them to the form and give the field a value and have it be stored to a DB or received through email?
I know I can do that with CGI. Is it similar to ASP where I will need to edit something else besides just the html code?
- enobrev0
well you're going to have t oadd the fields to their current form processor as well.
What is happenning to the submitted info?
- mikeim0
not sure, i'll havta ask. but you're saying that something other than the html code will need to be edited.
is the form processor a seperate file or is it embedded in the html?
- ********0
CFML is your server-side scripting language as you already know, you should be able to tweak it in Cold Fusion MX or a previous version of Allaire Studio.
- enobrev0
right..
As far as it being a separate file, well that depends on how it was st up. Look at the action of the form, it should tell you which file is processing theform data.
You will want to mimic the actions currently done for the extra fields.
If you're not too experienced with Cold Fusion, you may want to pick up a book (i reccommend a ben forta book) or hire someone (nudge, wink) to help you out.
Good luck.
- CX0
Can I just add them to the form -- and have it be stored to a DB or received through email?
Add them to the form, give them the proper name. To store in a DB you have to add them to the SQL insert statement on the action page also and you can mail it out at the same time by using the form variables in a cfmail tag.
Or pay me to do it. :)