Home › Forums › Quform WordPress › dynamic dropdown – can this functionality happen?
- This topic has 5 replies, 2 voices, and was last updated 7 years, 11 months ago by Ally.
- AuthorPosts
- June 5, 2016 at 2:40 am #19257larrykParticipant
hi,
can this situation happen or be implemented?a DB table of cities and state
a DB table of zip codes in a citySo the dropdown displays CITY + ZIP CODE
– if a city has multiple zip codes, a city has multiple cities
– a person can type in a zip code OR city, to find which one they want== meaning, the instructions says: find your city or zip code
– dropdown populate as you type
can that happen?
thanksJune 6, 2016 at 8:24 pm #19265AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
June 6, 2016 at 10:08 pm #19270larrykParticipantthanks, so if i have jquery script working, that implements this type of functionality, I can “use it”, while still using quform to generate the form?
where or how do I set the “field” to use the custom code?
thanks
June 8, 2016 at 9:10 pm #19297AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
June 9, 2016 at 6:26 am #19301larrykParticipantthanks…
so i’m a newbie when it comes to jquery, etc. I know PHP well, but feel completely lost with jquery ๐
I can edit, tweak jquery some, but just don’t get the main parts ๐question/situation:
1) i have some working jquery custom code that populates as you type, pulling data from a table.
2) its working but I dont’ understand how!?!?!? —> there are 4 files:
-demo.php = the visual file you see which has the html of the form
-index.php = php code that has connection to DB
-js. file = the jquery code that does the functionality
– css file = formating3) I do not see how or where the jquery in the js file connects to the DB, but it does.
SO… to the point…
if I make a quform with the single line text field, how or where do i add the php/js/jquery code to make the same functionality happen?so I have the pieces but don’t know how or where to make them work on the quform?
Maybe this is out of your range of support or help, but I wanted to ask ๐
THANKS!
June 12, 2016 at 10:18 am #19311AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.