Highlight Mandatory (required) field.

18 views
Skip to first unread message

Donald R. Ziesig

unread,
Sep 19, 2011, 10:58:09 AM9/19/11
to Hobo Users
Back in January there was a series of posts concerning ways of highlighting mandatory fields.  It left off with a suggestion to use <feckless-fieldset> and a request to include this functionality in off-the-shelf hobo.

Has anything been done on this?

I am trying to incorporate the <feckless-fieldset> but it is not going very well so far. :-[

As usual, even after a seemingly interminable beta-test phase, I got a request from the real users for this.

Don Z.

Donald R. Ziesig

unread,
Sep 19, 2011, 11:00:49 AM9/19/11
to Hobo Users

Ronny Hanssen

unread,
Sep 19, 2011, 5:17:04 PM9/19/11
to hobo...@googlegroups.com
Hi Don,

I am using this for one of my sites. I made an extension to this using jQuery that shows help in a post-it note alike area next to the field in question (only showing for the currently active), where mandatory fields are showing help in red writing. Could do other stuff here though, but I haven't needed more. I have moved it all out to be a plugin, but it may not work out-of-the-box. I haven't tried to apply it to any other hobo project yet. If there's interest I could upload it. The only problem being that I am swamped in work, so I can't promise any delivery date...

Regards,
Ronny

Donald R. Ziesig

unread,
Sep 20, 2011, 11:14:28 AM9/20/11
to hobo...@googlegroups.com
> --
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/KKnGfsxcs40J.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
Thanks Ronny,

Fortunately, I was able to merge <feckless-fieldset> and <field-list>
functionality to produce <field-list-star-required> which highlights the
field labels with an asterisk that can be styled using css. It is very
limited, but it does exactly what I need so I may upload it as a recipe
for others to examine (and hopefully extend). To use it, all you need
is to change <field-list> to <field-list-star-required> and add a list
of required fields.

Don Z.

Donald R. Ziesig

unread,
Sep 20, 2011, 12:25:57 PM9/20/11
to hobo...@googlegroups.com
Hi All!

I figured out a quick and dirty method of implementing a Required Field
Highlighter and posted it as a recipe. It does exactly what I needed,
no more, no less.

Many thanks for the pointer to <feckless-fieldset> which gave me the
hint I needed to create the new tag.

Don Z.

Reply all
Reply to author
Forward
0 new messages