1
What code do I use to fill in web page fields with cURL
?
These are the fields:
Campo Nome:
<li>
<label for="supporter_full_name">your name*</label>
<input class="textbox" id="supporter_full_name" name="supporter[full_name]" size="30" type="text" />
</li>
Campo Email:
<li>
<label for="supporter_email">email*</label>
<input class="textbox" id="supporter_email" name="supporter[email]" size="30" type="text" />
</li>
Boot:
<input class="large blue awesome" id="verificar_button" name="commit" type="submit" value="Verificar">
I have a list with nome
and email
And I want to put them in one textarea
and get them tested, and when the value is valid, she come back with the name and the email written on the front - válido
, and when the value is invalid he come back with name and email written on the front - inválido
. Thank you in advance.
I think you’re confusing things. URL is not meant to fill anything. It will fetch the information you need, in a file or on another server. The form can only be filled in by printing the variables together with PHP, or via Javascript. It depends on how you are building the page.
– Ricardo Moraleida
I am mounting the page in php, as I do ?
– Bruno Alves
What do you mean by "fill in the fields"? You speak of a placeholder, an example text that will stay in the input until the person type? What you want is to validate the form? Be a little clearer and more direct.
– Anderson Madeira
What he has to do, as I understand it, is to send a post using Curl, because this in theory would "fill" the field and "test it", as he said.
– Inkeliz