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

Problem with Google Maps Pro and Form Builder

Thread began 11/20/2009 8:55 pm by WilliFixit | Last modified 11/24/2009 6:05 pm by Jason Byrnes | 1508 views | 7 replies |

WilliFixit

Problem with Google Maps Pro and Form Builder

I have a page with Pro Maps for Google on it which works fine.

After adding the PMG, I used CSS Form Builder to add a form below the map so that the user could put in a "from" destination and then get the directions.

I then linked the form fields to the PMG, and everything works fine.

However, as soon as they submit their entry the Google map refreshes with the directions, but the form below pops up all the validation error text. I also noted that the URL shows:
ourlocation.php?invalid=true

What am I doing wrong?

Screenshot of the form after is included for reference.

Sign in to reply to this post

Jason ByrnesWebAssist

It is impossible to tell what is wrong without seeing the problem in a browser.

If you could post the page live and include a URL where we could see the problem, we can probably spopt the issue fairly quickly.

Sign in to reply to this post

WilliFixit

URL to check

Here it is:

ourlocation.php

Just fill in a valid address in the form below, then click Get Directions. When the page refreshes you will see the problem in the form below the map with directions.

Thanks,

Sign in to reply to this post

Jason ByrnesWebAssist

Try binding the initial value of the form elements.

For each form element, select it in Design view, in the property inspector, click the lightning bolt next to initial value and select the correspond element from the form collection.

For the select list, you will need to click the Dynamic button in the property inspector and click the lightning bolt next to Select Value if Equal to.

Sign in to reply to this post

WilliFixit

Jason,

I tried your suggestion, but the behavior remains the same: After the page refreshes, the validation error text shows next to the form's controls.

What next?

Sign in to reply to this post

Jason ByrnesWebAssist

Hmmm, strange, can you send a copy of the ourlocation.php page so I can examine the code?

Sign in to reply to this post

WilliFixit

File requested...

File attached.

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

Jason ByrnesWebAssist

There are 4 instances of the Server side validation on the page.


Delete lines 9 - 62

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