How pass a value of checkbox to webspeed.

NormaLucia

New Member
Hi!
someone know how pass a value of a checkbox "Javascript" to instruction of webspeed.

I got the value selected with this intrucction, and I tried separated it with a import "txt", but
not accepted me. May someone help me.
I need the value for each one, for do a find. I add my instruction
After


<script type="text/javascript">
function createOrder()
{
transac=document.forms[0].transac;
txt="";
for (i=0;i<transac.length;++ i)
{
if (transac.checked)
{
txt=txt + transac.value + ",";
}
}
document.getElementById("selec").value= txt;

}

</script>


Find table where condition = any part of text.
IF avaialble then do:
end.
 

le_nightwolf

New Member
def var v_txt as char init "" no-undo.

{&out}
'
<script type="text/javascript">
function createOrder()
~ {
transac=document.forms[0].transac;
txt="";
for (i=0;i<transac.length;++ i)
~{
if (transac.checked)
~ {
txt=txt + transac.value + ",";
~}
~ }
document.getElementById("selec").value= txt;
document.forms[0].submit();
~}
</script>
<form name"w">
<input type="hidden" name="select">
</form>':U SKIP.

v_text = get-value("select").
if v_text ne "" then do:
Find table where condition matches "*" + v_text + "*
IF avaialble then do:
end.
end.
 
Top