Hi all,
i have a layout in which i insert data to post to a web admin area
Data is a checkbox which can be set True (selected) or false (not selected)
Than a button containing this code
in this way
Input type into webpage register.asp is
if checkbox is not selected
and
if it is selected code into register.it looks like
but it doesn't work, i cannot transmit to website (and update my web database)
Could you please suggest me the way to solve my problem?
i have a layout in which i insert data to post to a web admin area
Data is a checkbox which can be set True (selected) or false (not selected)
Than a button containing this code
in this way
B4X:
If checkbox1.Checked=True Then
valoregi="checked"
Else
valoregi="0"
End If
Jobregister.Initialize("Jobregister", Me)
Jobregister.PostString("http://www.mydomain.com/register.asp", "x_checkbox=" & valoregi)
Input type into webpage register.asp is
B4X:
<input type="checkbox" data-field="x_checkbox" name="x_checkbox" id="x_checkbox" value="1">
and
if it is selected code into register.it looks like
B4X:
<input type="checkbox" data-field="x_checkbox" name="x_checkbox" id="x_checkbox" value="1" checked="checked">
but it doesn't work, i cannot transmit to website (and update my web database)
Could you please suggest me the way to solve my problem?