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
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
<input type="checkbox" data-field="x_checkbox" name="x_checkbox" id="x_checkbox" value="1">
if checkbox is not selected
and
if it is selected code into register.it looks like
<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?