Copying DA Pages
I have created a working page with Data Assist
with validations and image uploads.
I would now like to duplicate that page.
I wonder if there is a preferred method of doing this?
Many thanks
John
I have created a working page with Data Assist
with validations and image uploads.
I would now like to duplicate that page.
I wonder if there is a preferred method of doing this?
Many thanks
John
Copying Data Assist Pages is never a really good idea, there are too many things that can go wrong.
you can try using Save As to save the file with another name, but you will need to update the forms action so it posts to the correct page, you may need to update the validation so it redirects to the correct page after failure, and there could be other page name references on the page that will need to get updated.
it's safer to recreate the behaviors on the new page rather than saving it as another file.
Thanks Jason
Not what I wanted to hear but thanks for the good advice.
Cheers
John
Sorry I forgot to ask.
In a form that needs a field to be removed, is it OK just to delete the field.
I notice that after deletion the field details are still listed in the code. Must these be removed please.
Thank you
John
if you remove a filed, you will also need to update the Validation and insert behaviors to remove the validation for that field and the binding to it in the insert.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.