I have a check box and if they email came to me with hours written and I wanted to check that there was or 1 or ok.
What should I do?
Thank you
Stefano
What should I do?
Thank you
Stefano
Hi Stefano,
I'm sorry, I don't understand what you need to do. Please can you post a backup copy of your form here?
You can check if the checkbox was checked by looking at the $_POST['field_name'] for that field. It will be 1 or 'true' if the box was checked.
Bob
I'm sorry, I don't understand what you need to do. Please can you post a backup copy of your form here?
You can check if the checkbox was checked by looking at the $_POST['field_name'] for that field. It will be 1 or 'true' if the box was checked.
Bob
Hi Stefano,
I'm sorry, I don't understand what you need to do. Please can you post a backup copy of your form here?
You can check if the checkbox was checked by looking at the $_POST['field_name'] for that field. It will be 1 or 'true' if the box was checked.
Bob
When I arrived emails form of the value of the checkbox is "checkbox", and I want to be as 1?
Thanks
Hi Stefano,
Add the value attribute equals "1" for it
Cheers
Max
Add the value attribute equals "1" for it
Cheers
Max
Hi Stefano,
Add the value attribute equals "1" for it
Cheers
Max
Sorry Max but where i must add it?????:dry:
This topic is locked and no more replies can be posted.