• Hello,

    I hope I am right here. I want to develop the following functionality for a website I’m currently building in WP:

    A contact / booking form that includes a simple post as an option. The idea is that you are a customer and have a number of course dates that you can register for on the website. I want a simple booking form that has different check boxes to choose the date you want to register for. These check boxes should be generated from posts that my client can write and update on his/her own.

    Here is an outline for this:

    My client writes posts for four upcoming courses on 04.12.2011, 01.01.2012, 05.02.2012 and 06.03.2012.

    The contact / booking form looks like this:

    —-
    I WOULD LIKE TO BOOK THE COURSE ON

    # course dates drawn from the posts OR “No courses scheduled.” #
    [X] 04.12.2011
    [ ] 01.01.2012
    [ ] 05.02.2012
    [ ] 06.03.2012

    My Name:
    My Address:
    My E-Mail:

    etc., etc.

    SEND
    —-

    The content of the form is then sent as an email to my client with the course date as a part of the mail.

    I would like this kind of setup so that I can use the course dates on other parts of the website as well (e.g. in a news-sidebar etc.).

    Anyone with an idea for this?

    Thank you,
    Arne / Berlin

  • The topic ‘Use a post in a form’ is closed to new replies.