Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfinput required attribute not working 1

Status
Not open for further replies.

SoonerNation

Programmer
Dec 7, 2005
12
US
For some reason all validation has stopped on my pages. I've read several threads and this archive thread232-1043777 seems to be close to my problem but I could use more detail.

I'm using CF 5.0.

I checked the virtual drive CFIDE and it's path is c:\inetpub\
I've also tried mapping it to the three other folders where cfform.js exists (why it is in three locations I have no idea)

Still no validation.

Thanks in advance for any help.
Lyndon
 
Can you either post the link so we can look at it, or post the code here? Have you tried looking at the form from another computer/browser? CFFORM is dependant on Java, so if you don't have the version of Java that CF requires it won't work.

BTW, you're using CF5??????? Why?


____________________________________
Just Imagine.
 
I'm Using CF5 because my employer won't upgrade.

I have hundreds of forms that use <cfinput required="Yes"> and they all seem to have stopped working at the smae time.

This is the code I was working on when I noticed the alerts stopped comming up.

Code:
<cfform action="WorkOrderReceiptExceptions.cfm" method="post" name="ReceiptDataEntry">
	<cfloop index="i" from="1" to="#ToString(Session.WorkOrderReceipt.rs)#">
		<cfinput name="FoalName#i#" type="Text" size="20" required="Yes" message="A Horse Name is Required">
		<cfinput name="FoalComplete#i#" checked="Yes" type="Checkbox">
		<cfinput name="BroodMareName#i#" type="Text" size="20" required="Yes" message="A Horse Name is Required">
		<cfinput name="BroodmareComplete#i#" checked="Yes" type="Checkbox">
		<input type="submit" value="Save" name="btnSave">
	</cfloop>
</cfform>

Thanks for looking at it for me.
 
There is nothing wrong with CF 5. It was by far the best and most stable version until CF 7, and it was a hellofalot better than that POS MX6! (Not 6.1, but the original MX)

Just a couple of quick troubleshooting questions.
1)Have you rebooted the CF Server since this started?
2)Have you tested this from multiple machines/browser configs?



Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
Thanks ECAR,

I really haven't found anything I can't do in CF5. It's pretty dang stable, I like that since I'm a one man IT shop.

1) I have not rebooted in about two weeks.
2) I've tried several different clients. No luck there.

I'll try a reboot after closing time and report back.

Thanks
Lyndon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top