[Pro] Is there a way to do this form work around??

Hi all,

I have embedded videos that are on separate pages of my site. I have the same form under each video for the student to fill out.

When they fill in it and sends to me I know which video they watched because I named the TEXT AREA Box by the video title so when their response comes to my email I can see the video title before their response.

I know that another (better) option is to have 1 form on a separate page, use iframe, and have a video name PICKER in the form for the video title to be chosen.

Here is my question…

Is there a way I can make 1 form and use Iframe but NOT have to have the student use a picker for the name of the video, but still know which video they are responding to.

I would like to avoid them having to choose a video name but I still need to know exactly which video they are responding to.

is there something I can label like i did before or any secret indicator?

Thanks for an idea.

Barry


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

is there something I can label like i did before or any secret indicator?

Not if you are only using 1 form.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

I do not like iframes… I think they are somehow dishonest. And lazy. That is, lazier than my philosophy of effort efficiency will tolerate.

I did very recently come up with a solution to a very similar problem that you might find interesting… here’s the FWT thread here:

https://freewaytalk.softpress.com/thread/view/165578

##Disclosure

What I am about to discuss does not involve Actions or the like. Please don’t ask me how to figure out how to do this without knowledge of how to do it. It’s a useful idea and others are welcome to translate this for Freeway’s form tools.

##Background

I have a client who lists various pieces of industrial drilling equipment for sale at the website we built, http://industrialmarketing.com.au/ When his customers contact him by email to ask questions and express interest in his offerrings, they would leave out key bits of information which frustrated him. So I created a Contact Form to mandate the provision of those bits of desired information and linked all his contact details to the form.

In the old scheme, I used a Mailto generator (this one here: CHA's Mailto Code Generator) to fabricate a link that would include some information in the email about which page (which item) was being inquired about.

##New Tricks

I wanted to do the same thing with the form and I didn’t want to write a form for each item/page/instance. So I hatched a plan to pass variables to the one form to indicate the page of origin (the item being inquired about). Here is such a page:

http://industrialmarketing.com.au/drillrigs/ref3662.html

At the bottom of the listing is a button to Request Information which links to the form with this url

http://myproof.thebigerns.com/inmark-contact-form/index.html?itemref=3662&itemname=Edson%20500%20Package

When clicked, the link calls up the form and pre-fills the field names “itemref” and “itemname” with the item reference number and name from this page. It relies on a query string… the bit from the “?” on to the end. It’s nothing new, I’ve seen it done many times but apparently it requires a bit of javascript to handle the request. Here it is

http://tinyurl.com/oyjtqac

In my document it is linked to in the before </head> section like this:

<script type="text/javascript" src="prefill.js"></script>

then it is activated on the body element like so

<body onload="populate('form-contact');">

where form-contact is the form’s id. So the script requires the form itself has an id

<form id="form-contact" action="form-script.php" method="post">

and that each form-element conform to a valid form element type, and be properly named

<label for="Item-Ref">Ref#</label>
<input type="text" name="itemref" id="Item-Ref" placeholder="1234">

The form then emails the result to my client as if the user has sent it. My client gets the information he wants, harvests the info for his purposes, and can easily communicate with his potential customer about the item.

##Adaptation

Now let’s say you figured out how to implement all this for your own purposes. You could make one form and prefill a field (or fields) in a way that serves your purposes. You could even prefill hidden fields that your user wouldn’t see or be able to affect. The query in the link url can’t have unencoded spaces or special characters.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options