help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
Number of booked places
Number of booked places
1 year 5 months ago
Hello,
thank you for the Joomla 4 release.
I want to deactivate the option to book more than 1 place.
In special i want to delete this code: <input id="addplaces" style="text-align: center; width:auto;" type="number" name="addplaces" value="1" max="1" min="1" data-dashlane-rid="a8538a584d89cf4b" data-form-type="other">
I hope you can help me
thank you for the Joomla 4 release.
I want to deactivate the option to book more than 1 place.
In special i want to delete this code: <input id="addplaces" style="text-align: center; width:auto;" type="number" name="addplaces" value="1" max="1" min="1" data-dashlane-rid="a8538a584d89cf4b" data-form-type="other">
I hope you can help me
Please Log in or Create an account to join the conversation.
Re: Number of booked places
1 year 5 months ago
Hello MarcWg
In the Event setting just use max places = 1
Best Regards, Marcel
In the Event setting just use max places = 1
Best Regards, Marcel
Please Log in or Create an account to join the conversation.
Re: Number of booked places
1 year 5 months ago - 1 year 5 months ago
Thank you for your reply,
Unlikely it does not solve my Problem as you can See in the images.
Unlikely it does not solve my Problem as you can See in the images.
Last edit: 1 year 5 months ago by MarcWg.
Please Log in or Create an account to join the conversation.
Re: Number of booked places
1 year 5 months ago
Hi MarcWG
Yes, if You set it like You correctly did it still is displayed, but if the User want to Change to Eg. 2 Places they can not do with the Arrows,
But they can Put the Number directly in the Field! It comes no warning about.. When they triy to save will com an Error.
I see the Problem excactly.
If You set all in the Event then you can Just set via CSS to Display: none; for this Imput Field. Better Text maybe with an Language Override..
But not forget: then this Field will never be displayed
Yes, if You set it like You correctly did it still is displayed, but if the User want to Change to Eg. 2 Places they can not do with the Arrows,
But they can Put the Number directly in the Field! It comes no warning about.. When they triy to save will com an Error.
I see the Problem excactly.
If You set all in the Event then you can Just set via CSS to Display: none; for this Imput Field. Better Text maybe with an Language Override..
Code:
#addplaces {
display: none;
}
But not forget: then this Field will never be displayed
Please Log in or Create an account to join the conversation.
Time to create page: 0.800 seconds