This topic is: resolved
- This topic has 2 replies, 2 voices, and was last updated 11 years, 11 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Quform WordPress › Dynamic Fields
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
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
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.