query_posts result into an array for contact form pull-down list
-
I’m using cforms 8.7 to create job application forms that sit within posts categorised as ‘jobs’.
I want to dynamically pull the names of the posts(job titles) into a pulldown field (selectbox) in the form. I understand I need to create an array of posts from the ‘jobs’ category(using query-posts I think) and use that array when defining the contents of the pull down list. My PHP isn’t good enough to figure the code for this and after searching through endless forum posts I can’t find the answer.I’ve put posts up on the cforms forum which I’m getting clues from but no answers.
Can anybody enlighten me?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘query_posts result into an array for contact form pull-down list’ is closed to new replies.