Hello Chapps,
Just a small one but its bugging me, i have a small .cfm file called contact.cfm, it has a form in it that posts to send.cfm which generates an e-mail using the entered data.
Basicly i want to ensure that a couple of the fields in the form contain information, my cfinput tag looks like this.
even when the form it left blank it does not display my message box and just sends off a blank mail to me.
Any ideas?
Rob
Just a small one but its bugging me, i have a small .cfm file called contact.cfm, it has a form in it that posts to send.cfm which generates an e-mail using the entered data.
Basicly i want to ensure that a couple of the fields in the form contain information, my cfinput tag looks like this.
Code:
<cfinput name="name" type="text" message="Please enter your Name" required="Yes" size="30" maxlength="30">
even when the form it left blank it does not display my message box and just sends off a blank mail to me.
Any ideas?
Rob