Add a “Horizontal Rule” custom field option

HomeForumsFeature RequestsVolunteer Sign-Up Sheets – Feature RequestsAdd a “Horizontal Rule” custom field option

Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #44217
      Michael LaMorte
      Participant

      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.”

    • #44218
      Stephen Sherrard
      Keymaster

      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.

    • #44219
      Michael LaMorte
      Participant

      Perhaps an empty row then, with a border-bottom property on the tr?

    • #44220
      Stephen Sherrard
      Keymaster

      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.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.