Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter glideranderson

    (@glideranderson)

    Below is the code that is outputted from form.inc.php

    <?php
     /**
     * WP Highrise Contact form file
     *
     * @copyright	Copyright 2010 INBOX International https://inboxinternational.com
     * @since		1.0
     * @package		WP Highrise Contact WordPress Plugin
     * @credit		Original code by Ryan Duff and Peter Westwood from WP-ContactForm
     * @license		https://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL)
     * @version		$Id: wphc.php 1010 2010-02-16 02:46:36Z marcan $
     */
    
    $ret = '<form id="wphc" action="' . get_permalink(). '" method="post">
    	<div id="edit-honeytrap-wrapper" class="form-item">
    		<label for="edit-honeytrap">Leave this field blank:</label>
    		<input id="edit-honeytrap" class="form-text" maxlength="128" name="honeytrap" size="60" type="text" />
    	</div>
    	<div class="firstName">
    		<label for="ct-firstName">Name: *</label>
    		<input id="ct-firstName" class="required" name="firstName" type="text" />
    	</div>
    	<div class="email">
    		<label for="ct-email">E-mail: *</label>
    		<input id="ct-email" class="required email" name="email" type="text" />
    	</div>
    	<div class="phoneNumber">
    		<label for="ct-phoneNumber">Phone:</label>
    		<input id="ct-phoneNumber" name="phoneNumber" type="text" /></div>
    	<div class="message">
    		<label for="ct-message">Project Details:</label>
    		<textarea id="ct-message" class="required" name="message"></textarea>
    	</div>
    	<div class="projectType">
    		<label for="ct-projectType">Project Type: *</label>
    		<select name="projectType" class="required" id="ct-projectType">
    			<option value="Click to Select Project Type">Click to Select Project Type</option>
    			<option value="Logo/graphic Design">Logo/graphic Design</option>
    			<option value="Website Design">Website Design</option>
    			<option value="Website Redesign">Website Redesign</option>
    			<option value="Web Marketing">Web Marketing</option>
    			<option value="Search Engine Optimization">Search Engine Optimization</option>
    		</select>
    	</div>
    	<div class="btn">
    		<input type="submit" class="submit" value="Send">
    	</div>
    </form>
    <script type="text/javascript">
    	jQuery(document).ready( function () {
    		jQuery("#wphc").validate();
    	} );
    </script>';
    
    return $ret;
    ?>

    Thread Starter glideranderson

    (@glideranderson)

    Have one more question:

    Can I sent the email from this plugin to my drop box in High Rise?

    Thread Starter glideranderson

    (@glideranderson)

    Had to change

    <script type="text/javascript">
    	jQuery(document).ready( function () {
    		jQuery("#wphc").validate();
    	} );
    </script>

    to

    <script type="text/javascript">
    	jQuery(document).ready( function ($) {
    		$("#wphc").validate();
    	} );
    </script>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Highrise Contact] Jquery not validating form?’ is closed to new replies.