Jump to content

Image Map Multiple Selections


vigiw

Recommended Posts

Hi, I have a PHP form with an image map.  I would like the image map to output specific text for each hotspot, and enter it into a form field.

Is this possible?  And is it possible with multiple at one time without having to refresh?

For example--

I would have a map of Massachusetts, and the map may contain northeast, southeast, west, and central as 4 different hotspots.  And the form submitter happens to choose maybe 3 of these.

How do I make it so the selections, and only the selections, all show together in the form field?  I tried this with PHP but it only outputs 1 and refreshes for the next, and I was told to go for Javascript.  I am inexperiened with Javascript and would appreciate some help.

Thanks in advance!
Link to comment
Share on other sites

No,

I mean this is a PHP Form that submits to a MySQL database, that is why it is PHP, and that part is done and working.  I want to make an image map and allow the person submitting the form to click any hotspots they want, maybe they want multiple and click 3 of however many hotspots there may be.  I would like those 3 or however many hotspots the person clicked, to be entered together in one field in this PHP form.

So if the person click North, east, and south, I want it to appear in the form field:

North, East, South

I'm not sure how to implement this.

Thanks
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.