A grid cell is using a freeform template.
Template contains a radio button placeholder called DUMMY2.
Radio Buttons show but will not respond to clicks.
How do I get operational radio buttons within a html freeform?
FREEFORM:
DUMMY2 Choices:
View Report|a
Email Report|b
Archive Report|c
Delete Report|d
DUMMY2 ONCHANGE EVENT
Template contains a radio button placeholder called DUMMY2.
Radio Buttons show but will not respond to clicks.
How do I get operational radio buttons within a html freeform?
FREEFORM:
Code:
<table border="0" width="666" height="142"> <tr> <td height="21" width="700" valign="top"> <font face="Verdana"><b>Applicant:</b></font> <font color="#2A2C31" face="Verdana">{data.APPLICANTID} -</font> <b><font face="Verdana" color="#800000">{JOBTITLE}</font></b><p> <b><font face="Verdana" color="#62997A">{FIRSTNAME} {LASTNAME} {DATE}</font></b><br> </td> </tr> <tr> <td height="21" width="700" valign="top"><b> <font face="Verdana" color="#3B0819">{TYPE}<br>{DUMMY2}</font></b></td> </tr> <tr> <td height="33" width="660"><img border="0" src="images/hbar1.jpg" width="100%" height="3"></td> </tr> </table>
View Report|a
Email Report|b
Archive Report|c
Delete Report|d
DUMMY2 ONCHANGE EVENT
Code:
var rowNum = {Grid.RowNumber} var n = {grid.Object}.getValue('G','DUMMY2',rowNum); switch(n) { case a: {grid.Object}.ajaxCallback('G','{Grid.RowNumber}:all','switchboard','','_getData=true&'+'email_report=0'); break; case b: {grid.Object}.ajaxCallback('G','{Grid.RowNumber}:all','switchboard','','_getData=true&'+'email_report=0'); break; case c: var answer = confirm('Is it OK to archive this report?'); if(answer == true) { {grid.Object}.ajaxCallback('G','{Grid.RowNumber}:all','archive','','_getData=true&',{}); } else { alert('The attachment will NOT be removed per your request.'); } break; case d: var answer = confirm('Is it OK to DELETE this report?'); if(answer == true) { {grid.Object}.ajaxCallback('G','{Grid.RowNumber}:all','deleteMe','','_getData=true&',{}); } else { alert('The attachment will NOT be removed per your request.'); } }