PDA

View Full Version : "Where did you hear about us?" List box


horr80
22-Jul-2007, 10:25 AM
Hi I'm interested in putting a list box with contain valid "Where did you hear about us?" entries. Currently the uses have a free format field and I would like to get them to select from a list of "Google", "Yahoo", "Friend" etc

If anyone can help it would be great.

Rich

http://www.hi-baby.co.uk/

Krithika
23-Jul-2007, 10:48 AM
Hi Richard

Try this :

1. Switch to the Design Tab in the software and select Checkout Page 2 from the Select Page Type drop-down.

2. Scroll down the Preview window and click on the "How did you find our site" reply field.

3. You should now have the 'General User Definable 1' layout displayed in the pane below. Find the line :
<input type="text" name="GENERALHOWFOUND" size="40" maxlength="255" value="<Actinic:Variable Name="GeneralHowFound"/>" />
4. Replace this with something like :
<!--<input type="text" name="GENERALHOWFOUND" size="40" maxlength="255" value="<Actinic:Variable Name="GeneralHowFound"/>" />-->
<SELECT NAME="GENERALHOWFOUND">
<option></option>
<option>Google</option>
<option>Yahoo</option>
<option>Others</option></select>You can replace the above choices with values of your own.

5. Apply changes and upload the site. Customers should now be displayed a drop-down instead of a free-format text-field.

Hope this helps.

Donna Kempster
07-Sep-2007, 01:20 PM
Hi
I have just implemented the above onto one of our brands and it works fine on website. I expected it to show when offline orders were placed as well but it doesn't. Do you think I have done it wrong?:eek:

TraceyHand
07-Sep-2007, 01:28 PM
if you've entered it in the checkout phase, Donna, then no..you did it right. the "other info" questions don't come up on offline orders anyway

Donna Kempster
07-Sep-2007, 01:38 PM
Shame, would remind me to ask people when they phone.

:D

P.S. Done many service washes today?

TraceyHand
07-Sep-2007, 01:40 PM
P.S. Done many service washes today?

lol
nahh..did some ironing though
Probably not something most people do at the office :rolleyes:

leehack
07-Sep-2007, 01:42 PM
lol, afternoon Dot and Pauline.

TraceyHand
07-Sep-2007, 01:45 PM
lol, afternoon Dot and Pauline.


afternoon....ohh..what's the name of that grouchy old sod?...
:D

actually, haven't watched EE for about 15 years so wouldn't know who's in it nowadays!

peblaco
07-Sep-2007, 01:46 PM
Jim? :confused:

leehack
07-Sep-2007, 01:46 PM
Mr Thopadopalopodus? or do you mean Malcolm?

Donna Kempster
07-Sep-2007, 01:49 PM
Much more like Frank Butcher :p (only joking Lee) ...... (u can tell the last time I watched it!)

leehack
07-Sep-2007, 01:50 PM
No worries Pat, no offence taken.

TraceyHand
07-Sep-2007, 01:50 PM
I was gonna say Arthur but I think he's dead, isn't he?
LOL

leehack
07-Sep-2007, 01:51 PM
I think he is Peggy yes.

I'd rather be Grant.

JimboS
12-Sep-2007, 09:28 PM
Sorry to drag it back to the original discussion - I have tried to implement as described and it appears fine online, but does not appear to download and show-up when an order has been placed and the reports printed.

James

TraceyHand
13-Sep-2007, 08:50 AM
James,
it only appears on the packing list (not the invoice)
do you print one of these?
Is it not showing in the "Misc" tab of the order details?

Whereabouts did you add the code in the checkout?

JimboS
13-Sep-2007, 09:43 AM
I have double checked and it does not show up on either the packing list or the data entry.

I have added the code in 'Checkout Page 2' and it looks like this:

<td>
<!--<input type="text" name="GENERALHOWFOUND" size="40" maxlength="255" value="<Actinic:Variable Name="GeneralHowFound"/>" />-->
<SELECT NAME="<actinic:variable name="GeneralHowFound" />">
<option></option>
<option>Search on Goggle</option>
<option>Search on Yahoo</option>
<option>Search on MSM</option>
<option>Other search engine</option>
<option>Link from another site</option>
<option>Leaflet/information from specialist</option>
<option>Leaflet/information from GP</option>
<option>Leaflet/information from optician</option>
<option>Other</option>
</td>

I have changed the last item to a tick box, I suppose I could have made a mistake there and it looks like this:
<td>
<input type="checkbox" name="GENERALUSERDEFINED" value="yes"/> <Actinic:Variable Name="GeneralUserDefined"/> (tick for yes)
</td>

Oh the site is at www.viteyes.co.uk if you need to check it out online.

Thanks

James

Jan
13-Sep-2007, 09:46 AM
There is a report in our free library that analyses the data entered into this field, members of our mailing list get access to the library.

Regards,

leehack
13-Sep-2007, 09:48 AM
James are you checking on the correct tab of the order details?

TraceyHand
13-Sep-2007, 09:50 AM
is that available for V8 now, Jan?
It wasn't last time I looked

JimboS
13-Sep-2007, 10:14 AM
James are you checking on the correct tab of the order details?

It is the printout I am most interested in beign able to use - but I can't see it under the 'Misc' tabs which is where I wold expect it to be.

James

leehack
13-Sep-2007, 10:18 AM
The 'shipping note' field is printed on the invoices, if you do not use that field on your site, perhaps that could become your drop down box? I have an invoice off a recent actinic store in front of me, where i filled in details and i can see it quite clearly on the invoice, so it definitely does it.

TraceyHand
13-Sep-2007, 10:19 AM
ok...James
this is the exact code (well, with a few options removed) I have for my General User Definable 1 layout

<TR>
<td bgcolor="<actinic:variable name="CheckoutBG"/>"><FONT FACE="ARIAL" SIZE="2"><actinic:block if="%3cactinic%3avariable%20name%3d%22GeneralPrompt000Required%22%20%2f%3e"><span class="actrequired"></actinic:block>
<Actinic:Variable Name="GeneralPrompt000"/>
<actinic:block if="%3cactinic%3avariable%20name%3d%22GeneralPrompt000Required%22%20%2f%3e" ><span class="actrequired"></actinic:block> </FONT></TD>
<td bgcolor="<actinic:variable name="CheckoutBG"/>"><FONT FACE="ARIAL" SIZE="2">
<SELECT NAME="GENERALHOWFOUND"> <OPTION SELECTED>Please select:
<option>Previous Customer</option>
<option>The Peoples Web/NCT website</option>
<option>From Chariots On Hire Website</option>
<option>"Together We Care" Magazine/Website</option>
<option>Emma Jane stockists Page</option>
<option>Shopping.com search</option>
<option>Shopsafe.co.uk listing</option>
<option>Google Products/Froogle search</option>
</SELECT>
</FONT></TD>
</TR>

Granted there may be some superfluous code in there (it's inherited from V6/7 etc) but it might be worth comparing anyway

Donna Kempster
13-Sep-2007, 10:34 AM
It worked fine for me and shows in the misc tab. We don't print packing lists so not sure about that. The only thing I can see is you don't have </select> at the end??

Donna

leehack
13-Sep-2007, 10:35 AM
Good spot Donna.

JimboS
13-Sep-2007, 10:50 AM
All sorted - I had two errors.

I hadn't closed with </SELECT> and I also had the wrong name in the <SELECT NAME> :o

James

Jonathan Hunter
07-Feb-2008, 03:37 AM
Please can someone help? I have tried to take this a step further by making the textbox become visible if a user selects 'Other'. I belive I am close but I am not able to pass the variables successfully. Here is the code I am using..

<select name="GENERALHOWFOUND" onchange="javascript:div = document.getElementById('othershowhide'); if (this.options[this.selectedIndex].value == 'Other') div.style.visibility='visible'; else div.style.visibility = 'hidden'; " >

<option></option>
<option>Search Engine</option>
<option>Exhibition</option>
<option>Television</option>
<option>Friend/Colleague </option>
<option>Other Advertising</option>
<option>Other Website</option>
<option value=Other>Other - Please Specify</option>
</select>

<div id="othershowhide" style="visibility: hidden">
<input type="text" name="GENERALHOWFOUND" size="40" maxlength="255" value= "<actinic:variable name="GeneralHowFound" />" />
</div>

Furthermore, this option must be set to compulsory.

peblaco
07-Feb-2008, 11:08 AM
Seems to work for me outside of Actinic although I haven't copied it into a site. Have you put this on a live/test store url that can be viewed?.

JimboS
07-Feb-2008, 09:07 PM
Just tried on our site and it seemed to work fine, but how do you get it to work for two different drop down lists on the same page?

i.e. how did you find us & reason for buying both with an option for Other and a text box to appear?

James

JimboS
07-Feb-2008, 09:12 PM
No got it sorted, was using the same reference on each one.

Seem to work fine.

Thanks by the way, been wanting to do this for ages.

So far it is just on our site at www.ocusan.co.uk if you want to have a look.

James

Jonathan Hunter
07-Feb-2008, 10:06 PM
I have implemented on an actinic store and unsuccessfully tested. When an option is chosen from the drop down list there is an error stating that nothing has been entered. It is only when 'other' is selected and something is entered into the now visible input box that it will work. Can someone please help as this is driving me nuts?

JimboS
08-Feb-2008, 06:56 AM
I see what you mean now.

If other is selected and completed all works fine.

If one of the other options is chosen then nothing is passed through.

James

JimboS
15-Feb-2008, 06:59 AM
Anyone else any thoughts on how to solve this problem?

James

charli
27-Oct-2009, 10:51 AM
Hello

I am very new to the forum and I hope somebody is able to assist me. I found the HTML coding above very useful as I am know hardly anything about HTML coding.

The problem I am having is the first <option></option> I would like it to say <option>Please Select</option> this works fine and shows first in the dropdown on the site. This is a mandatory field but it allows you to go next when it says “Please select” does anyone have any coding that will stop the user from going next on the first option???

Thank you

Charli

pinbrook
27-Oct-2009, 12:04 PM
I'd remove the "Please Select" as an option and only have the mandatory items there to choose from

charli
28-Oct-2009, 09:31 AM
Hello

Thank you for your quick response, yes I would agree with you but we have a lot of first time internet users to our site through medical professionals and unfortunately when we had that blank we just received a number of phone calls from customers not knowing how to fill in the form so I am trying to make it user friendly???

Charli

leehack
28-Oct-2009, 09:41 AM
Put "mind your own business" in as the first option, it gives people a choice on whether they want to answer the questions. It's a mistake to make these things mandatory. If someone chooses to answer, you will undoubtedly get a better idea of the real answers.

pinbrook
28-Oct-2009, 10:05 AM
Hello

Thank you for your quick response, yes I would agree with you but we have a lot of first time internet users to our site through medical professionals and unfortunately when we had that blank we just received a number of phone calls from customers not knowing how to fill in the form so I am trying to make it user friendly???

Charli
the most user friendly solution is not to ask :D