The generic recaptcha remailer now supports https and you should update your forms to use an https post and recaptcha codes as shown in the sample code.

There is currently no Forms component in the new Ensemble. We will be working over the coming months to incorporate this feature into the component library, but for now users who wish to have forms on their pages will need to copy and paste the form HTML into an HTML component.

CAUTION: The action that your form uses to process the form data *must* use a fully qualified domain name-based URL in order to function (e.g., https://www.vt.edu/mailer/generic-recaptcha-mailer.php).

Custom PHP is not supported in Ensemble. If you need to use PHP other than the generic recaptcha mailer, you will want to maintain a second host using the Web Hosting service.

Process

  1. Open the current page that contains your form
  2. Use the View Source/Page Source option to display the HTML code for the page
  3. Find the <form> and </form> tags for your form
  4. Select everything between the <form> and </form> tags including the <form> and </form> tags themselves
  5. Open or create a page in Ensemble for your form
  6. Make sure you are in Edit mode (top right corner of browser window)
  7. Open the Side Panel that contains the components
  8. Drag a HTML component into the Drag Components Here box
  9. Click on the HTML component to display the Configure icon (wrench)
  10. Paste the form HTML into the HTML box in the dialog
  11. Click the check mark to save your changes

Note: there is a limit of 50 input fields on this remailer.

The pasted HTML from the source should look something like this:

<form method="post" action="https://www.vt.edu/mailer/generic-recaptcha-mailer.php">

<input type="hidden" name="format" value="table" /><!-- or value="text" -->

<input type="hidden" name="email" value="someone@vt.edu" />

<input type="hidden" name="redirect" value="http://server.vt.edu/path/to/redirect.html" />

<input type="hidden" name="Event Registration" value="Event Registration" />

 

<input name="Name" value="Full Name" size="50" type="text" />

<input name="Address" value="Address" size="50" type="text" />

<input name="City" value="City" size="50" type="text" />

<input name="State" value="State" size="50" type="text" />

<input name="Zip" value="Zip" size="50" type="text" />

 

<script type="text/javascript" src="https://www.google.com/recaptcha/api/challenge?k=6LeQyswSAAAAAHjM8pujTFGhF6uG4bdgeQbCLOWj">/**/

</script>

<noscript>

<iframe src="https://www.google.com/recaptcha/api/noscript?k=6LeQyswSAAAAAHjM8pujTFGhF6uG4bdgeQbCLOWj" height="300" width="500" frameborder="0"></iframe><br>

<textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><br><input name="recaptcha_response_field" type="hidden" value="manual_challenge" />

</noscript><br>

 

<input type="submit" value="Submit" /><input type="reset" value="Reset" />

 

</form>