Results 1 to 3 of 3

Thread: Hidden fields on Vantage Listing Form

  1. #1
    Thread Starter
    Expired Customer mrddr3's Avatar
    Join Date
    Feb 2014
    Location
    United States
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Hidden fields on Vantage Listing Form

    I've spent two days on this... I want to add a hidden field to the vantage listing form. The code for the form is in "../vantage/form-listing.php"
    Here is the code:

    Code:
    <form id="create-listing" enctype="multipart/form-data" method="post" action="<?php echo $form_action; ?>">
    	<?php wp_nonce_field( 'va_create_listing' ); ?>
    	<input type="hidden" name="action" value="<?php echo ( get_query_var('listing_edit') ? 'edit-listing' : 'new-listing' ); ?>" />
    	<input type="hidden" name="ID" value="<?php echo esc_attr( $listing->ID ); ?>" />
    	<input type="hidden" name="ME" value="MY_VALUE_WOULD_GO_HERE" />

    I want to add the third line... You would think this would be easy, but the value does not get registered because I can't use the value as meta data for the listing... PLEASE HELP!


    (I want to be able to use the value as metadata for the listing ultimately)...

  2. #2
    joes's Avatar
    Join Date
    Nov 2012
    Location
    Australia
    Posts
    877
    Thanks
    12
    Thanked 358 Times in 261 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Expired Customer mrddr3's Avatar
    Join Date
    Feb 2014
    Location
    United States
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dimitris I want to add more fields to my vantage add a listing form
    By soulextractor in forum Help Using Vantage (Legacy)
    Replies: 1
    Last Post: March 9th, 2014, 11:30 AM
  2. Extend Contact Information Form Fields - Add New Listing Admin Page - Vantage
    By lockhartg in forum Vantage General Discussion (Legacy)
    Replies: 16
    Last Post: October 15th, 2013, 04:33 AM
  3. [MOD NEEDED] Create hidden fields
    By marlonsabala in forum ClassiPress General Discussion
    Replies: 4
    Last Post: February 14th, 2012, 09:17 AM
  4. Register Plus Hidden Fields
    By jvtraydz in forum ClassiPress General Discussion
    Replies: 5
    Last Post: August 8th, 2010, 10:28 PM