Please forgive me for asking what will probably seem to all you gurus out
there a very simple question.

I got hold of Steve Nelsons book in the UK a few weeks ago and have been
structuring my CF accordingly.

However, I'm pulling my hair out trying to do some customised server side
validation on a form.

My form, included when fuseaction="editCode" and which uses the
<cf_reuseform> tag, redirects back to the circuit index file with
fuseaction="validatCode" like so.

<form action="index.cfm" method="post">
        <input name="fuseAction" type="Hidden" value="validateCode">


Then the act_validateCode.cfm does some jigery pokery and depending on the
outcome
sets the following variables.

If validation failed
        attributes.displayaction = "Form"
        attributes.fuseaction = "editCode"

If validation OK
        attributes.displayaction = ""
        attributes.fuseaction = "updateCode"

before a URL directs the flow back to the circuit index.cfm

However, if the validation failed I cant get the information entered by the
user to re-display using <cf_reuseform> !!!!!!!!!

I know the answers out there.
Thanx in advance.

Tim

PS. Has anyone ever thought of coming over to the UK to do some Fusebox
trainning ?





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to