Hi. I'm trying to build a simple webpage with multiple checkboxes, a Textbox and a submit buttom.
I've just bumped into web programing in Python and am trying to figure out out to do it with CherryPy.
I need to associate each checkbox to a variable so my .py file knows which ones were selected when clicking the 'Start button'. Can someone please give some code example ? Do I have any advantage including some Python Javascript Compiler like Pyjamas?
<_form action="../remote_targets/ssh_grab.py">
<_label for="goal">Host Availability:
<_input style="margin-left: 30px;" type="checkbox" name="goal[]" value="cpu" /> CPU idle
<_input style="margin-left: 30px;" type="checkbox" name="goal[]" value="lighttpd" /> Lighttpd Service
<input style="margin-left: 30px;" type="checkbox" name="goal[]" value="mysql" /> Mysql Service
</form>
Waiting in the Queue
Thanks !