Home › Toolset Professional Support › [Resolved] Hide Several grouped together Input Fields in a Post Form
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | - |
- | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 14:00 – 18:00 | 13:00 – 18:00 | - |
Supporter timezone: America/Jamaica (GMT-05:00)
This topic contains 6 replies, has 2 voices.
Last updated by Don 3 years, 6 months ago.
Assisted by: Shane.
Tell us what you are trying to do?
I am pretty sure i found something on toolset for exactly this a week ago but cant for the life of me find it again.... anyways, I have a post form, and there are several input fields that will get their values automatically assigned via javascript on form submit... so i dont want the input fields to be visible/able to have unnecessary data entered. I know i can do each field separately in the css section, but the labels still show and, since the fields are all grouped together for convenience, i thought that i read somewhere that i could just add a html block before the fields with <div style="display:none;"> and a html block after the fields with the closing </div> so that EVERYTHING including the field labels would not display but it isnt working. Maybe what i recall reading doesnt apply to post forms, or i did it wrong?
Hi Don,
Thank you for getting in touch.
It is possible to add a wrapper div around your form elements however you will need to edit the form in Expert mode.
Once you've used the expert mode toggle on the edit screen of the form it should switch your form to the html markup. From there you can add your Div to wrap the elements that you want to hide.
Please let me know if this helps.
Thanks,
Shane
thanks Shane, but i could have swore that it was possible using normal mode with the blocks, ie adding a html block before and after the fields in question. I thought it was a thread where Christian replied and gave the two options, in advanced or normal mode.... but like i said i lost that thread (comp reboot and lost my open tabs) and cant find it again..... but, if you are sure that it is only possible in expert mode then so goes it.... really wanted to avoid that since then i am "stuck" in expert mode or lose all my changes if i switch back which makes it hard to maintain....
Hi Don,
Actually i'm not aware of a second way of doing this.
but like i said i lost that thread (comp reboot and lost my open tabs) and cant find it again
Perhaps you can check your browsing history to find the thread, is it one of your threads with Christian ?
Thanks,
Shane
hi, no it wasnt one of my own threads, was one i came across while googling "toolset" plus a variety of things i wanted to customize but of course researched before just starting a new support thread... came across what looked like a solution and kept the tab open but then lost it.... just think it was christian that replied with a solution that gave hope that it could be done, also in normal mode..... too many toolset threads looked at for browsing history to be useful but thanks for the suggestion. will just make display none with css for each and every field for now, just not ideal because can only make the labels "disappear" by making them a as label.... not the most elegant or ideal solution but works for now until i hopefully figure out how to encapsulate all of the fields at once with a html block or am DEFINITELY done moving things around in normal mode and would be worth the risk doing it in expert mode.....
Hi Don,
Happy I was able to point you in the right direction with this.
However I double checked the form's visual builder and i'm not seeing any way to add the HTML block to hide the fields. So its definitely a case where expert mode is needed or you will need to target the fields individually.
If there are any further questions please let me know, if not then you can go ahead and mark this ticket as resolved.
Thanks,
Shane
My issue is resolved now. Thank you!