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

Update not updating

Thread began 10/01/2010 11:29 am by Daryl | Last modified 12/22/2010 1:54 am by Daryl | 960 views | 6 replies |

DarylBeta Tester

Update not updating

I have created a form using CSS Form Builder, have added the Data Assist Update Behaviour and then inserted the form into a page using Framework.

The update behaviour has been amended to redirect to a different page depending on the selections made - this works well.

The update is made using a session variable which I have also printed to the page to ensure that it is being passed to the page - it is!

So why wont it work?

Any help appreciated

Attached Files
application_6a_form.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the action of the form needs to be changed to use the name of the parent page it has been added to using the framwork.

for instance, if the page the framework was applied to is named mypage.php, the forms action needs to post to mypage.php:
<form class="IntelligentUtilities_Default" id="WoM_IntelligentUtilities_Default" name="WoM_IntelligentUtilities_Default" method="post" action="mypage.php">

Sign in to reply to this post

DarylBeta Tester

Hi Jason

Is there a way of adding some dynamic code to automatically assign the form action to the name of the parent page?

Sign in to reply to this post

Jason ByrnesWebAssist

No, you will need to edit the action manually.

Sign in to reply to this post

DarylBeta Tester

Ah, is that what the new update does for you.....

action="<?php echo $_SERVER["PHP_SELF"]; ?>"

Sign in to reply to this post

Jason ByrnesWebAssist

yes, <?php echo $_SERVER["PHP_SELF"]; ?> should do the trick

Sign in to reply to this post

DarylBeta Tester

Originally Said By: Jason Byrnes
  yes, <?php echo $_SERVER["PHP_SELF"]; ?> should do the trick  



This was the form action code written by the new DA version that was released.

Unfortunately the form does not submit any data.

It is a plugin using frame builder in a page called index.php?survey=dual_membership

When a form is submitted, no data is sent, and you are directed back to the same page minus the dynamic url instead of ../thankyou.php, the form action is actually /admin/survey/index.php

If I set the form action to /admin/survey/index.php?survey=dual_membership the data sends with no problem and the redirect works as expected.

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