Home›Forums›Feature Requests›Volunteer Sign-Up Sheets – Feature Requests›Add a “Horizontal Rule” custom field option
Tagged: custom field
- This topic has 4 replies, 2 voices, and was last updated 1 week, 2 days ago by Stephen Sherrard.
-
AuthorPosts
-
-
July 18, 2024 at 7:06 AM #44217Michael LaMorteParticipant
I have some signup sheets where I have Volunteer #1 filling out the form, but they also can sign up Volunteer #2 and Volunteer #3 (i.e. kids).
I am using custom fields to gather this extra info.
However, there is no way to visually break up these sections.
If, under custom fields, there was a “Horizontal Rule” option for the field type that could easily solve this problem. I could then order the fields for Volunteer #2, place a HR “custom field”, then order the fields for Volunteer #3… etc.
You could even get fancy and when creating the “Horizontal Rule Custom Field” allow styling the thickness and color of the rule, but even just a basic HR would suffice.
Another and more flexible way to solve this would be to have a “Custom HTML” custom field and allow us to put whatever we want in there. For an example use case other than allowing users to drop in a simple HR: a large hunk of text (in the custom HTML) followed by a checkbox custom field labeled “I have read and agree to the liability waiver.”
-
July 19, 2024 at 10:24 AM #44218Stephen SherrardKeymaster
Thanks for the suggestion. I agree that something like that would be nice. However…
The problem with your suggestion is that custom fields are additional columns in the table displays, and are NOT something that are output in between rows. There is currently no way for you to specify any type of field to appear between rows of volunteers.
This is much more complex than simply allowing a field where you could insert html.
-
July 22, 2024 at 6:12 AM #44219Michael LaMorteParticipant
Perhaps an empty row then, with a border-bottom property on the tr?
-
July 22, 2024 at 8:35 AM #44220Stephen SherrardKeymaster
The problem remains, where do you specify the empty row, and how do you specify after what entry that row should appear? Again, the custom fields extension adds columns (not rows), and even the Customizer extension only allows you to specify which columns are shown. The plugin has no way of knowing which signups should be shown together with a separator after them.
If it was some kind of fixed setting, such as insert an empty row after every third row, then that could possibly be done. However, you can do that right now with custom CSS that targets your tables. Look up some standard CSS for tables and lists and how to use the ‘nth’ type operator, or the ‘even’ or ‘odd’ operators, to specify how to change the styling for some of the rows (as long as they fall into a repeating pattern such as even, odd, or every ‘nth’ row). I think some custom CSS is probably your best bet right now if there is a pattern to where you want some kind of styling to separate entries. If there is no pattern, however, then it pretty much becomes impossible unless we do some major code changes to somehow allow people to specify which signups belong together as they are signing up.
-
November 23, 2024 at 10:27 AM #44412Stephen SherrardKeymaster
The new version of the Custom Fields extension now has layout blocks where you can add HTML in various locations within the signup form template. There are several fixed locations for the default signup form, plus you can also select a position after any custom field that you add. So, this would allow you to add hr fields to the signup form to break up sections. Check out the documentation for more information.
-
-
AuthorPosts
- You must be logged in to reply to this topic.