|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
cfform,cfinput
hi,
why cfm not alert me when cfinput field name null when submit, but in windows this work. How about linux? anything need change? ![]()
__________________
Making it different not a profit |
|
#2
|
|||
|
|||
|
All cfform does is generate Javascript to produce the form validation alerts. Check the source code that you get in the browser and see if the Javascript is there. Do you have Javascript turned off on your Linux box? You shouldn't have to do anything special for this to work on Linux.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
ok it's done, just change the permission on /CFIDE/scripts
![]() |
|
#4
|
|||
|
|||
|
I wouldnt use any CFFORM tags, because its alot slower then standard html!
You shouldnt need to change any of the permissions on your box, because coldfusion is PLATFORM independent, its most likely one of a few things. 1.) You have Javascript disabled. 2.) You dont have your Platform installed correctly Changing the permissions of CFIDE can affect everything so I would watch out. <cfinput required="yes" message="missed a field" name="your_name" value="<cfif isdefined('incorrect')>#form.value#</cfif>"> |
|
#5
|
|||
|
|||
|
Has nothing to do with CFIDE, forget about that.
You need to have required="yes" in your cfinput for it to recognize null/blank values and validate="noblanks". Quote:
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > cfform,cfinput |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|