close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Insert/Update forms do not work if included with Framework

Thread began 3/18/2011 7:27 pm by Brad Lawryk | Last modified 3/21/2011 2:07 pm by Jason Byrnes | 1659 views | 12 replies |

Brad Lawryk

Insert/Update forms do not work if included with Framework

Insert/Update forms do not work if included with Framework. Nothing gets submitted and it totally go to the wrong redirect page. It goes to the directory where the form originated from instead of the page it was suppose to redirect to.

Sign in to reply to this post

Brad Lawryk

Should mention I am still using 2.0.7 if that helps

Sign in to reply to this post

Brad Lawryk

Updated to 2.0.8 and replaced the library file as instructed in sticky ... same problem. No change.

Sign in to reply to this post

Dave BuchholzBeta Tester

Brad,

I am using DA with framework builder without any issues, the key I think is where you are posting your forms to I use for example in my admin section:

php:
<form  action="<?php echo $_SERVER['PHP_SELF'].((isset($_SERVER["QUERY_STRING"]))?'?'.$_SERVER["QUERY_STRING"]:""?>" id="frmDelete" method="post" name="frmDelete">



Does that help ?

Sign in to reply to this post

Brad Lawryk

Thanks Dave,

I am not sure I understand?

Since when do we have to put something in the form action? The form works perfectly when you go to the form directly. It is only when it is included that it no longer works.

Brad

Sign in to reply to this post

Dave BuchholzBeta Tester

The form needs to be posted back to the page it is included in, not the form page itself.

Sign in to reply to this post

Brad Lawryk

Yes, of course. That is what I have set in the redirect in the extension UI is to redirect to the actual page not the included page.

Sign in to reply to this post

Dave BuchholzBeta Tester

Brad,

I don't know what else to suggest as I had no issues getting pages with the data assist server behaviours working, one thing is that I don't use the wizard to create these pages.

Sign in to reply to this post

Jason ByrnesWebAssist

Brad,

When using the DataAssist pages as plugins using the framework, you will need to change the forms action to post to the main plugin page.

your question:

  Since when do we have to put something in the form action?  



is answered simply by saying; Since you are using the DataAssist pages as plugins.


you then say:

  Yes, of course. That is what I have set in the redirect in the extension UI is to redirect to the actual page not the included page.  




the redirect is not the same as the forms action.

the forms action is where the form data is posted. The redirect occurs after the posted form data is processed.

Sign in to reply to this post

Brad Lawryk

Thanks Jason, I see what you are getting at now. However that brings up another issue. When I have a page with an included form that is set to only show if the table is empty (based on variables of course) submitting the form should then go back to that page but the data should be displayed and the form should be gone.

The data is being added to the table but the page does not reflect that you have to refresh the page for the data to show and the form to disappear. But by doing that it submits the form again so duplicate data is entered.

Any chance you guys could do up a documentation on this?

Sign in to reply to this post
loading

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...