Send values from form(html) to mail

in a form I initialize an html page,
radio_button, select, text fields,
when I want to click on submit (placed in the html page)
in on validate, I get the variables $ _POST
how to validate the sending of the fields via procedure in on validate, if I click on validate in my html page, the fields are empty and no procedure in on_validate


OK solved, whith one if … in load form