This is the Email Contact Us form used in the D4Science and gCubeSystem websites
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.5 KiB

<%@ include file="init.jsp"%>
<script src="" async defer></script>
<portlet:actionURL var="validateURL" name="submitSuggestion" />
<aui:form action="<%=validateURL%>" method="post" name="fm">
<h3>Your input is valuable to us, please send us your suggestions.</h3>
<aui:input name="name" label="Please enter your name" value=""
<aui:input name="email" label="Email" value="" required="true">
<aui:validator name="email" />
<aui:input type="textarea" name="message" label="Message" value=""
required="true" rows="6" style="width:300px;" />
<div class="g-recaptcha" data-sitekey="6Ld0hfYZAAAAAKlIHde1v3QE4NyY4AniN6j-U9SP"></div>
<aui:button value="Submit suggestion" type="submit"
cssClass="btn-large btn-fill" />
<script type="text/javascript">
'aui-tooltip', 'aui-base', 'selector-css3',
function (A) {
var form ='#<portlet:namespace />fm');
if (form) {
function(event) {
if (grecaptcha.getResponse() === '') {
alert('Please prove you are not a robot');