I had a hidden field. I need this field to record the value "1" for each record or entry so that the charts and queries have something to count when generating data.
All was working well until recently. The field has been configured to be "hidden" (and have default value of 1) but the modal has started to show the field.
Can someone please assist with getting this back to being hidden again?
I've tried to create a new column, also set to hidden but this also appears in the modal.
If the field is editable it will show up in the modal.
I'd need to see the edit modal, find the selector, and provide a custom CSS code that will hide the field, so please share the URL where I can edit this field with me, and I'll check it out.
Sorry for the delay in responding to your answer. It is a shame the field i wish to have hidden is showing up. I dont need it editable but it does seem that it has to be editable to have the "default value" setting. All I need is a field to add the value 1 to a field so that I can compile charts later.
I'll send you a PM with some login information for the CSS you described.
Custom code needs to be applied to the page where the booking form is. Depending on what you're using (Gutenberg blocks, or some page builder), adding the CSS or JS can be done in a few different ways.
If you need help with adding custom CSS to the page, please take a look at this article.
I had a hidden field. I need this field to record the value "1" for each record or entry so that the charts and queries have something to count when generating data.
All was working well until recently. The field has been configured to be "hidden" (and have default value of 1) but the modal has started to show the field.
Can someone please assist with getting this back to being hidden again?
I've tried to create a new column, also set to hidden but this also appears in the modal.
Thank yoy
Hey Daniel
If the field is editable it will show up in the modal.
I'd need to see the edit modal, find the selector, and provide a custom CSS code that will hide the field, so please share the URL where I can edit this field with me, and I'll check it out.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Aleksandar,
Sorry for the delay in responding to your answer. It is a shame the field i wish to have hidden is showing up. I dont need it editable but it does seem that it has to be editable to have the "default value" setting. All I need is a field to add the value 1 to a field so that I can compile charts later.
I'll send you a PM with some login information for the CSS you described.
Thank you
Hey Daniel.
If I see it clearly, the "Quantity" column is the one with the predefined value, so to hide it, add this CSS to the page:
Custom code needs to be applied to the page where the booking form is. Depending on what you're using (Gutenberg blocks, or some page builder), adding the CSS or JS can be done in a few different ways.
If you need help with adding custom CSS to the page, please take a look at this article.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
I have simple CSS installed so adding this line of code was a breeze.
It has worked perfectly - thank you
If i need to hide fields in the future, does the number in brackets refer to the column number?
So to replace (1) with another column number would hide that column
Thanks again for your speedy support and help
You're welcome, Daniel
Glad I could be of service.
That's the first element on the edit modal, the first one that's currently visible is (2), the one next to it is (3), and so on.
So, if you want to hide more columns from the front-end, you can copy the CSS, modify the child # and that's it.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables