I am using the CF Developer app to test a new website I'm designing and have
PUT files on CF/server and now need to uninstall program. First, is it
necessary or a good idea to GET or delete files I've PUT on server before I
uninstall CF, for privacy, etc...
CF_output - 03 Jul 2008 14:41 GMT
Which files are you referring to that you need/want to delete? html/cfm files?
I would suppose you may want to delete them if several other people are
sharing the same server and you dont want them looking at your files.
The form processing really depends on what you want to do. Are you planning
on inserting that information into a database? Just displaying the information
on a page? Emailing the information?
The cfforms are not much different from an html form, with the exception you
add "cf" in front of the form tags and it has some built in validation.
Heres an example of a basic form with a checkbox.
<cfform name="myform" method="post">
<cfinput type="checkbox" name="mycheckbox" value="yes">
<cfinput type="submit" name="submit_form" value="submit me">
</cfform>
Once you submit the form, it will resend the form variables back to itself -
so if you needed to display the form variable - you could do something like
this:
<cfif isDefined('form.mycheckbox')>
<cfoutput>
the check box was selected with value: #form.mycheckbox#
</cfoutput>
</cfif>
newbie1kenobi - 03 Jul 2008 20:25 GMT
As far as deleting files I'm referring to the cfm files I PUT on the server to
test them. I was more concerned what happens to information once you uninstall
CF??
Regarding the form info initially all I want to do is display a message on a
page once form is submitted and then send results to my email. As far as
validation I used DW8 to validate text fields but wasn't sure if I could
validate check boxes and radio buttons with DW though it looked like you could
if you knew how.
I have one check box in form I need feedback on and a radio button group I'd
like results from.
I went through the trouble of designing form with DW8 but didn't code anything
dynamically. Do you think I should start over or is it easy to just ad CF code
to get what I need (form results)?
Thanks in advance.
Newbie