- This topic has 5 replies, 2 voices, and was last updated 3 weeks, 3 days ago by .
I am fresh to MetaBox and digging into the plugins features.
Following this tutorial, to get familiar with everything, I was able to build everything described in the Tutorial, thanks for this, its great.
However, now extending what I learnt in the tutorial, I stumbled on an issue.
In my single room post, I plan to add a calendar input for the guest to select a date, and a button Book Now.
Setting a date range in the calendar and pressing Book Now will/should lead to a booking page, where the user will have to fill out the entire form (similar to the form shown int your tutorial).
I hoped, I could use the same Form shortcode but specify which fields of the Bookings Fields Group to display (only check in date), and submit the form without saving it’s data to the database.
However it seems not possible to display only one field of an entire Group with the same form (unless with CSS, etc, which is not what I want), so I create a new Group with just the date field I need for this Form.
Also it seems the form always creates a post even if I remove any post from the assignment of the group.
In my use case however, the form should lead to the booking page, perhaps passing the field value as URL param, or else to the next form, where the user then indeed will book for real.
But it shouldn’t save data yet, and it should display only one field of the Group.
Hoping this makes sense, and perhaps someone has a hint for me where to proceed from here?
I am also OK with code (which I can craft myself) but I wonder if there is some inbuilt or helping way to achieve this with MetaBox
- You must be logged in to reply to this topic.