[Express] radio button Clusters problem

radio button Clusters not working in table with mals e buy form and quantity variation not showing up when protaculous action java script applied Help!!!

Anthony Orlando

www.jholie.com/shoptest.html


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

And as Walter suggested in a previous thread you would be well advised to get your form working before you start adding JS to hide the input items (radio clusters).

So redo without the JS to get the form working and once it works add the enhancements.

D


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

Dave,

Thanks again for your input. I have setup 3 test on this as shown here.

#1 www.jholie.com/shop.html

Here i have gotten check boxes and a radio set to work though not the need. I want the radio buttons in table to work as 2 sets 1 for color and 1 for size.

#2 www.jholie.com/shoptest2

This is the radio problem by example. I can’t seem to separate the radio sets of color and size.

#3 www.jholie.com/shoptest.html
When I apply Walt’s protaculous action a new problem arises where I loose the quantity field and cannot complete the mals e form order.

This is the script I have applied. Any advice with these two problems is appreciated as well. I know I am missing something obvious to a trained eye.

//
$(‘item6b’).observe(‘click’, function(evt){
var elm, opt;
if(elm = evt.findElement(‘img’)){
this.select(‘img’).invoke(‘setStyle’, ‘border:none; margin:0px;’);
elm.setStyle(‘border:0px; margin:0px 0 0 0 0px;’);
opt = elm.previous(‘input’);
opt.click();
$(‘message’).down(‘p’).update(‘You have selected’ +
opt.readAttribute(‘name’) + ’ #’ +
opt.getValue() );
}
}).select(‘input’).invoke(‘hide’); //hide the radio buttons

Anthony


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

Do it without the script first and just use standard submit buttons (not a graphics) - until it works.

On http://www.jholie.com/shoptest2.html all the radios share the same cluster name of product[] - should be color. And the other cluster should be size. Your product info is being sent in your hidden field so you should not duplicate it as you are just now.

D


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

Just as a matter of interest: It might help your form to not use two check boxes for the colour selection as you have on http://www.jholie.com/shop.html as you have it the user could select both a black and a white colour at the same time, you should use two radio nuttons or a drop down menu for that option.

HTH

On Aug 19, 2012, at 3:53 PM, Jay Leyer wrote:

Dave,

Thanks again for your input. I have setup 3 test on this as shown here.

#1 www.jholie.com/shop.html

Here i have gotten check boxes and a radio set to work though not the need. I want the radio buttons in table to work as 2 sets 1 for color and 1 for size.

#2 www.jholie.com/shoptest2

This is the radio problem by example. I can’t seem to separate the radio sets of color and size.

#3 www.jholie.com/shoptest.html
When I apply Walt’s protaculous action a new problem arises where I loose the quantity field and cannot complete the mals e form order.

This is the script I have applied. Any advice with these two problems is appreciated as well. I know I am missing something obvious to a trained eye.

//
$(‘item6b’).observe(‘click’, function(evt){
var elm, opt;
if(elm = evt.findElement(‘img’)){
this.select(‘img’).invoke(‘setStyle’, ‘border:none; margin:0px;’);
elm.setStyle(‘border:0px; margin:0px 0 0 0 0px;’);
opt = elm.previous(‘input’);
opt.click();
$(‘message’).down(‘p’).update(‘You have selected’ +
opt.readAttribute(‘name’) + ’ #’ +
opt.getValue() );
}
}).select(‘input’).invoke(‘hide’); //hide the radio buttons

Anthony


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


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

Mike,

Thanks you are correct. I really do want radio button as you see at www.jholie.com/test2.html but mals ebuy form is effecting them as it seems to see it as only one cluster.

Anthony


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

No page there

On Aug 19, 2012, at 10:26 PM, Jay Leyer wrote:

Mike,

Thanks you are correct. I really do want radio button as you see at www.jholie.com/test2.html but mals ebuy form is effecting them as it seems to see it as only one cluster.

Anthony


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


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

Opps sorry

Its www.jholie.com/shoptest2.html

thanks


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

I would try separating the color and the size by modifying the names of the two groups, maybe like this:

product[color][]
product[size][]

I’m not sure exactly what this may do on the Mals side, but it’s worth a try.

If that doesn’t work, then drop the second pair of square brackets and see if it works with the index (color or size) in the first pair of brackets.

Walter

On Aug 19, 2012, at 7:23 PM, Jay Leyer wrote:

Opps sorry

Its www.jholie.com/shoptest2.html

thanks


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


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