Grow your CSS skills. Land your dream job.

List pages as

  • # April 10, 2013 at 5:47 pm

    Howdy! It probably sounds odd, but I would like to put certain child pages in a drop-down menu to include in a form. The visitor need not visit the page, but the title of that page is what’s most important. In other words:

    Which of the following tours do you want more info on?

    I’m doing this simply so that if I add or delete pages in the future, this form field will be kept up-to-date without any effort on my part ;)

    Thanks!

    # April 10, 2013 at 6:12 pm

    Cool, so some Googling and I figured it out! I’ll have to test this to see how/if it actually works within the form, but for anyone else who might benefit from it, the code (hard-coded, not a short-code) is something along the lines of:

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".