close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to create a delete page with new version

Thread began 4/30/2012 4:18 am by info4753 | Last modified 5/12/2012 9:24 am by info4753 | 690 views | 4 replies |

info4753

How to create a delete page with new version

How do I create a delete page with DataAssistPages in the new version without using this outdated repeating table?

Sign in to reply to this post

Jason ByrnesWebAssist

creating the delete page page with the new version is the same as in the old version.


the link to your delete page should pass in a querystring variable to tell which record to delete.

delete.php?id=33


for example.

on the delete page, you would have a form with a delete button, to make sure the person rely wants to delete the record.

add a hidden form element to the page to capture the ID query string variable:


<input name="id" type="hidden" id="id" value="<?php echo((isset($_GET["id"]))?$_GET["id"]:"") ?>" />

then add the delete record behavior, click the plus button on the server behaviors panel and select WebAssist -> Data Assist -> Delete Single record delete.

for the key column, select the ID column, click the lightning bolt icon next to Key Value and select the ID hidden form element.

Sign in to reply to this post

info4753

Thx Jason

Seems to be unnecessary complicated. Why is there no delete page option in the new Create Pages Wizard?

Just an idea: with ADDT I got automaticly file delete code if needed when applying a form with a file field.

Sign in to reply to this post

Jason ByrnesWebAssist

well, the wizard does create the delete for you, just not as a separate page. it allows you to create the delete button on the details page.


in the create pages wizard, go to the Manage pages tab. select the Results or detail page and click the pencil edit icon to make changes to that page.

there is a checkbox option to include the delete button for those pages.

Sign in to reply to this post

info4753

Thanks Jason.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...