• Resolved markred

    (@markred)


    Hi, I’m trying add a custom shortcode to the booking form which brings through some user data. However the shortcode doesn’t get translated into that data. Is this possible or does the booking calendar prevent this?

    http://ww.wp.xz.cn/extend/plugins/booking/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    Its depend of what shortcode you are try to add.
    Please read more about the booking form fields configuration here.

    Thread Starter markred

    (@markred)

    Hello, thanks for your quick reply. The shortcode I want to add to the Form is not one of your predefined ones. I have created a shortcode to bring through some user meta data, but when that shortcode is added to the Forms box it’s not converted, and just comes through as the shortcode reference i.e. [my_shortcode]

    Plugin Author wpdevelop

    (@wpdevelop)

    Its possible to use inside of the Booking > Settings > Fields page at “Booking Form” form the shortcode like this (its will be the text field for the entering some data):
    [text my_shortcode ""]
    so then at the “Content of Booking Fields” form you can use this shortcode:
    [my_shortcode]

    But if you was used this shortcode [my_shortcode] in the Booking > Settings > Fields page at “Booking Form” form, so its not supported. sorry.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shortcode in Forms’ is closed to new replies.