close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Update not working

Thread began 11/16/2012 5:29 am by georgina_barrett_187762 | Last modified 11/16/2012 9:37 am by Jason Byrnes | 300 views | 1 replies |

georgina_barrett_187762

Update not working

I have a page that uses jquery lightboxes to pop up 2 forms. The first is an update form and the second is a multiple insert form. A 'memberID' session value is passed from the previous page.
The upload form pops up on page load and displays the current password that is pulled in from the database using the memberID session variable (this works correctly). The user can then change the password if they wish using the update form (this doesn't work). Once the form is submitted another form pops up and allows the user to insert multiple email addresses and also inserts the memberID session value (this works).

The multiple insert form works fine but the update form doesn't. I thought it might be something to do with the fact that I have both forms on one page and the page isn't being reloaded inbetween form posts. So I created another page with the same code but only added the update form (without the insert form) and it still doesn't work.

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

Jason ByrnesWebAssist

add the following code at line 1:

php:
<?php @session_start(); ?>




add an empty value attribute to the newpassword form element

php:
<input name="newpassword" type="password" id="newpassword" size="32" value=""  />




in the update record behavior, bind the Key Value to the memberID session variable instead of using the ID column from the recordset.

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