- Issue created by @jaypan
- πΊπΈUnited States apmsooner
Hey there, the rendering already supports a 'hidden' formatter option for all types. We can create also a 'hidden' type widget that could apply to all field types. Is that what you want so you can set the value via javascript or do you want a 'value' type widget in which you are setting via backend? I suppose we could have a single widget that could determine the element type of either hidden|value. Let me know what you think. Its a pretty simple task that I should be able to knock out pretty quickly.
- πΊπΈUnited States apmsooner
The patch should do what you need for now. I'll probably have some broken tests that may need fixing but otherwise it should just work.
- πΊπΈUnited States apmsooner
This should be good to go if you wanna add review.
- πΊπΈUnited States apmsooner
Merging this simple feature addition. If there are any issues, create a separate ticket.
-
apmsooner β
committed 31c0b19c on 3.1.x
Issue #3516026 by apmsooner: Allow individual form fields to be hidden
-
apmsooner β
committed 31c0b19c on 3.1.x
- π¨π¦Canada jaypan Victoria, BC
Thanks for the quick turnaround! I've just installed the latest version of the module, but I'm not seeing how to set individual form elements to not be rendered, Can you please provide some direction?
- πΊπΈUnited States apmsooner
In the widget settings, every field now has an option for the new "Hidden" widget type. Likewise, in the formatter settings for each field there is also a "Hidden" formatter type.
- π¨π¦Canada jaypan Victoria, BC
Thanks, I was looking under the manage for tab. Much appreciated! Thanks again for the quick turn around.
- π¨π¦Canada jaypan Victoria, BC
The updated interface on the field settings page is nice as well.
- πΊπΈUnited States apmsooner
Thanks for the feedback! It's a tough section to improve given the complexity but happy to hear its at least better.
- π©π°Denmark ressa Copenhagen
@jaypan: Yes, @apmsooner is very fast, and open for new ideas, which is awesome. Many ideas and solutions were floated in π Make field form more intuitive and compact Active and I am glad to hear you like the new user interface.
And another great feature was added here, thanks to both of you :)