I am struggling wit check boxes. I have read a lot trying to see if somebody have done it something about it. I found a few examples but nothing that could save my problem.<br><br>I know it should be easy but I have not been able to do it. I have tried using fox and zap.<br>
<br>What I am trying to do is something similar like below:<br><br>(:input checkbox Test 1 :) Test<br><br>(:if equal {$:Test} 1:)<br>(:input hidden PPss "active":) <br>(:else:)<br>(:input hidden PPss "No Active":) <br>
(:ifend:)<br><br>(:input submit post Enviar:)<br><br>I am trying to save the PPss PTV in the same page I am working on for test. Not even caring about checkbox last state. I just want to give a PTV a value if checkbox is checked and give to that PTV another value otherwise.<br>
<br>I know after a few test my checkbox is giving 1 or an empty value but I have not been able to set the PTV properly in the conditional.<br><br>If anybody can point me right this simple matter it will be very useful for me, I am trying to finish something here and that is the only missing.<br>
<br>Best Regards,<br>Edwin<br><br><br><br> <br>