I'd say it's better to check for duplicate records so that even if the reload/refresh 
button is clicked they can't accidently add it again.

my 2 cents

BOROVOY Noam wrote:

> Don't forget the Reload/Refresh button on the browser.
> If you include the files and stay in the validate fuseaction the user can
> refresh and gets the repost form data which will go and add another
> record... therefore for sure cflocation to a new fuseaction (either Error or
> View).
>
>         ----------
>         From:  Joshua White [SMTP:[EMAIL PROTECTED]]
>         Sent:  Wednesday, 23 August 2000 15:19
>         To:  '[EMAIL PROTECTED]'
>         Subject:  Form Validation?
>
>         Hey all,
>
>         I have an employee form that has three modes (Add, Edit, Error).
> The form
>         "posts" to a "validateIt" fuseAction that validates form data on the
> server
>         side.
>         If I am adding a new employee, and the form variables pass the
> checks, I am
>         not sure if I should include the file act_AddNewEmployee.cfm or
> cflocation
>         to a seperate fuseAction.  Including these files makes sense because
> if the
>         data does not pass the tests, I can include the form into the
> validateIt
>         file and easily repopulate the fields with the offending data.  Do
> any of
>         you see a problem with this or have any other recommendations?
>
>         Joshua
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>         CONFIDENTIALITY NOTICE: If you have received this e-mail in error,
>         please immediately notify the Sender by e-mail at the address
>         shown and delete all copies of this message.  This e-mail
> transmission
>         may contain information that is proprietary, privileged,
>         confidential, or otherwise legally exempt from disclosure.  If you
>         are not the named addressee, please be aware that you are not
>         authorized to open, read, print, retain, copy, or disseminate
>         this message or any part of it.  Thank you for your compliance.
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> ----------------------------------------------------------------------------
> --
>         To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> ------------------------------------------------------------------------------
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

--
Bryan Stevenson
Electric Canvas Technologies
Inter/Intranet Development
www.ecanvas.com
[EMAIL PROTECTED]
(250) 920-8830
-------------------------------------------
Allaire Alliance Partner
www.allaire.com


------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to