close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Use Cookies Toolkit to store & recall individual Form Entries?

Thread began 6/21/2011 10:21 am by neilo | Last modified 6/22/2011 8:32 am by Jason Byrnes | 2959 views | 7 replies |

neilo

Use Cookies Toolkit to store & recall individual Form Entries?

Hiya,

Hoping to use Cookies Toolkit to store and recall individual form item entries per session so that I can somehow make the Google Maps 'Get Driving Directions' to somehow work dynamically without having to use a database/recordet.

My Google Map page(s) have a simple form, four fields:

Street
City
Post Code
Country (so Google knows where to look)

I am hoping that someone can provide a quick step-by-step guide to commiting each form item entry to a cookie so that I can somehow recall and bind those values dynamically in the Driving Directions (Step 5) of the Map GUI process.

Saving entire form to cookie seems to mean that I can't bind individual fields in GUI. Have spent hours trying to get my head round this, and more hours watching the interactives and reading the pdfs.

At the moment my only option seems to be to pick one address out of the whole of Mediocre Britain in the hope that they might one day want to drive to my client's business premises.

Simple to follow [baby-steps] instructions would be hugely valued. If they work.

Yours densely,

Sign in to reply to this post

neilo

Ignore this for a bit. I seem to have by-passed the obvious.

Sign in to reply to this post

Jason ByrnesWebAssist

have you looked at the "Displaying Form Elements" tutorial in the Solution Recipe section of the Pro Maps support page:
pro-maps-for-google/

Sign in to reply to this post

neilo

Hi Jason,

Thanks, - yep - have tried that exactly as shown soooooo many times, on two machines, CS4 CS5 CS5.5, ProMaps 1.0.6, ProMaps 1.0.7. Have tried inserting into required page, and into blank pages.

Looks fine in Design view, but previewed in browser, there is no sign of the lower (directions) bit. Just the form and the default map view which is correct.

I have given up on this, so no worries.

Sign in to reply to this post

neilo

Just for your info, attached is an entirely 'bare-bones', by-the-book page & files zip, the results of which can be seen here:

pro_maps/

Not much to see.

If you enter an address in the form and submit, then check the source, you will see that the 'var fromAddress = {' is populated with the address you entered and all is as it should be. But no signs of any directions area.

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

Jason ByrnesWebAssist

Google does not like the starting address you entered.


When I search your starting address:
92 Higher Drive, Purley, Surrey, CR8 2HJ, United Kingdom


through maps.google.com, it comes back as:
92 Higher Dr, Croydon, Greater London CR8 2, UK

If i replace your address in the map js file:
full: '92 Higher Drive, Purley, Surrey, CR8 2HJ, United Kingdom',

with the one from google:
full: '92 Higher Dr, Croydon, Greater London CR8 2, UK',


the directions work.

Sign in to reply to this post

neilo

Hi Jason,

Yes I finally worked this out in the small hours of this morning.

Google didn't Like 'Drive' (preferring 'Dr'), and I had been given a wrong second part of the postcode.

I should have thought of checking the address out on Google Maps online first, saving myself hours of headache, so mia culpa.

Thanks,

Sign in to reply to this post

Jason ByrnesWebAssist

No worries.

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