More in this section

Forums / Developing with Sitefinity / Asterisk next to required form fields?

Asterisk next to required form fields?

3 posts, 0 answered
  1. Ryan
    Ryan avatar
    57 posts
    07 May 2013
    19 Nov 2013
    Link to this post
    I'm curious if there's a way to have the SF form generator to automatically put an asterisk next to the required fields.

    While I know I can manually put it into the name, our business group creating these isn't that thorough. I'm looking for something automated. Thanks.
  2. Steve
    Steve avatar
    3037 posts
    03 Dec 2008
    19 Nov 2013 in reply to Ryan
    Link to this post
    You could perhaps fire off some javascript to "click" the button thus triggering required and adding the required text?

    I don't think there's a way to show it by default, but you can always open up Advanced mode of the control and go to the Validator section to see all the options.
  3. David Rhodes
    David Rhodes avatar
    42 posts
    24 May 2005
    20 Nov 2013
    Link to this post
    I've compared the code and there doesn't seem to be any way of doing this, a bit of an oversight I think, all it needs is an extra CSS class adding to the containing DIV
3 posts, 0 answered