Dynamic Fields

Home Forums Quform WordPress Dynamic Fields

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5563
    jktb75
    Participant

    Hi.
    First of all i want to say thank you for a amazing plugin.
    Ok, i will first explain what i have and then ask my question:
    I have a Classifieds site and on the create listing page i have 2 static fields (not quform), that dynamically collect the lat and lng as soon as the client enters his address and clicks a button.
    This is how the fields get populated dynamically:
    <?php $coord = appthemes_get_coordinates( $listing->ID ); ?>
    <input name=”lat” type=”hidden” value=”<?php echo esc_attr( $coord->lat ); ?>” />
    <input name=”lng” type=”hidden” value=”<?php echo esc_attr( $coord->lng ); ?>” />

    Now, my question is:
    I want to create 2 field with quform that will dynamically grab the same values as my static fields (lat and lng), but no meter what i tried i couldn’t get it to work.
    Could you please help ?
    Thank you

    #5567
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    • This reply was modified 10 years, 9 months ago by Ally.
    #5599
    jktb75
    Participant

    I want to say thank youuuuuuuuuuuuuu.
    It didn’t work on that page but i was able to use the code on a different page.
    Thank you for your help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy