I've written the code below for a form in HTML, which does exactly what I need it to, sending the form information to a server, and it works just fine.
How do I take this form and implement it in Contact Form 7 for Wordpress? Making sure that the string that is returned from the server is displayed back to the user.
Any guidance is really appreciated. Thanks.
<form action="https://somelinkhere.net/getthedata" target="resultframe" method="post">
<label for="fname">Full Name:</label><br>
<input type="text" id="fname" name="fullname" value="" required><br><br>
<label for="company">Company:</label><br>
<input type="text" id="company" name="company" value="" required><br><br>
<label for="email">E-Mail:</label><br>
<input type="email" id="email" name="email" value="" required><br><br>
<label for="tel">Telephone:</label><br>
<input type="tel" id="tel" name="phone" value="" required><br><br>
<label for="arg">Select an option:</label><br>
<select id="arg" name="iargs">
<option value="optiona" required>This is option A</option>
</select>
<br><br>
<input type="submit" value="Submit">
</form>
<iframe name="resultframe" frameborder="0" height=50px width=1 00% allowtransparency="true"></iframe>
question from:
https://stackoverflow.com/questions/66060241/how-do-i-implement-post-to-url-in-contact-form-7-wordpress 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…