Populating a form field from hyperlink info

I’m just wondering if it’s possible to populate a form field with info contained in a hyperlink?

I’ve got a list of training courses with an AJAX expander the details of each one. At the bottom of each course details panel I have a “Click here for more information on this course”

As the course title might be, for example, ‘Helping Old People Across The Road’, I’d like to pass that title in the hyperlink to populate the ‘subject’ field of my contact form.

Is this possible?

Hugh


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sure. Can you post a link to an example page? Your example page will need to have some script in it, either JavaScript or server-side PHP or similar. If you’re already doing Ajax, I would like to see both your page with the link on it and your form page before I recommend a specific solution.

Walter

On Jan 21, 2013, at 10:24 AM, hugh wrote:

I’m just wondering if it’s possible to populate a form field with info contained in a hyperlink?

I’ve got a list of training courses with an AJAX expander the details of each one. At the bottom of each course details panel I have a “Click here for more information on this course”

As the course title might be, for example, ‘Helping Old People Across The Road’, I’d like to pass that title in the hyperlink to populate the ‘subject’ field of my contact form.

Is this possible?

Hugh


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for help by email, Walter. Think we’ve cracked it.

cheers


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options