EasyCFM.COM ColdFusion Forums / Coding Help! / EditForm

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: EditForm

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

sheri
05-04-2004 @ 7:54 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 2
Joined: Jul 2003

I try these code in my updateform to get auto value for the Status field. But when I change the value of FirstTest or SecondTest in my editform the value of Stuatus does not get changed.
<cfif FirstTest is not "">
<cfset Status = "A" >
<cfelseif SecondTest is not "">
<cfset Status = "S" >
<cfelse>
<cfset Status = "Status" >
</cfif>
I have to mention that the first attempt in submittal form works fine. My problem is when I use editform. Also this code is used in insertform and updateform.

Thanks
Sheri

Sponsored By...
iOpenSoft, LLC is a Houston, Texas Advanced Technology Studio Specializing in Web Design, Web Development, iPhone App Development and Android App Development.