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

problem updating a record where field has been changed using jquery

Thread began 12/24/2012 9:17 am by Base5 Designs | Last modified 12/24/2012 11:12 am by Base5 Designs | 468 views | 1 replies |

Base5 Designs

problem updating a record where field has been changed using jquery

Hi there

I am having a problem updating a record.

I have a google map on the page (not pro google maps is manually coded)

I have some buttons that geocode the location from an address and populates the lattitude (maplat_loc) and longitude (maplong-loc) with the lattitude and longitude values returned from the geocode response.

The geocoding seems to be functioning ok, as it poulates the fields with the correct values, but when i click ok to submit the update, i get returned to the list page as expected, but the data is not saved into the database.

I have checked in firebug and the correct post values are submitted, so why they are not updating i am unsure....

the page can be viewed at locations/

To reproduce the error:
if you click to edit the first record "Waterman Arts Center"
Then go to the bottom of the page and click geocode by postcode,
you will see the lattitude and longitude fields get populated with the values from the geo-code result

when you click update it returns you to the list page, but when you go back to the edit page the values are no longer there.

anychance you could have a look at the page and see where i am going wrong

I have attached the page in a zip

Attached Files
update problem.zip
Sign in to reply to this post

Base5 Designs

Ok Nevermind i found the error, for some reason the WADAUpdateRecordID hidden field had a load of url data in it as well as the record id.

Problem solved

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