Radio button choices box using html

I have a radio button field where I would like the choices to be a link that will
open a new window without the taskbar. So, when I type in the html code to do this
in the formula window for the radio button field, the browser ignores the onclick
code. It does open in a new window but the size is not altered and the taskbar is
present. I think it is a syntax problem…can anyone figure out the problem? Thanks.

Here is the code I have in the choices box (use formula for choices) for the radio
button field:

“none” :
“{<A HREF=‘http://templateA.jpg’ onClick=‘popup = window.open(‘http://templateA.jpg’,
‘PopupPage’, ‘height=450,width=500,scrollbars=no,resizable=no,menubar=no,toolbar=no’);
return false’ target=‘_blank’>A]” :
“{<A HREF=‘http://templateB.jpg’ onClick=‘popup = window.open(‘http://templateB.jpg’,
‘PopupPage’, ‘height=450,width=500,scrollbars=no,resizable=no,menubar=no,toolbar=no’);
return false’ target=‘_blank’>B]” :

Subject: radio button choices box using html

You can change your options to be in this format - (Use Formula for choices in Radio Button):

“none” :

“[A HREF="javascript:popup1();">A]”

Add your functions in JS Header of form.

//////////////////////////

function popup1(){

popup = window.open(‘http://www.notes.net’,‘PopupPage’, ‘height=150,width=100,scrollbars=no,resizable=no,menubar=no,toolbar=no’);

return;

}

//////////////////////////

Note: there should be a Less than ‘<’ sign before A in href tag.

Subject: RE: radio button choices box using html

This works great!! Thank you so much.