Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

DW code/instructions for Delete page is incorrect, I'm pretty sure

New Here ,
Jul 07, 2009 Jul 07, 2009

DW Help for Delete page is incorrect, I'm pretty sure - or else the code it writes is not right.

I have followed the instructions precisely in Adobe's Help for DW CS4:

Building pages to delete a record

http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WScbb6b82af5544594822510a94ae8d65-7896a.html

I've gone through it several times now, and the results are always the same: the Delete is performed without clicking the "submit" button in the form on the "delete page".

Instead, when the link is clicked which loads the "delete page" and passes it a URL parameter, the "delete page" just instantly performs the delete and loads the ensuing "success page".

I would really appreciate any help getting this to work. If it's my mistake, I will grovel while apologizing, but I've gone over all of this carefully and can't find any mistakes on my part.

Thanks hugely in advance,

--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--

TOPICS
Server side applications
367
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 07, 2009 Jul 07, 2009
LATEST

I figured it out.  🙂 The instructions weren't wrong, but they were lacking some explanation that would really be helpful, I think. I left comments on that page to that effect.

What I needed to change was:

-- The <form> on the Delete page needed a method attribute of "POST" - this isn't mentioned in the instructions for creating the form.

-- The name attribute of the hidden form field is crucial, and this wasn't mentioned in the instructions for creating the hidden form field.

Both of these things are finally mentioned in the last article in the series, but only briefly, and in a completely different context than the one I would think they'd be mentioned, in the sections about creating the form and the hidden form field.

That's how it strikes me. Anyway, all's well with my delete app now.  🙂

--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines