Jump to:

10990 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » userforms - Field not obeying custom rules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1126 Views
  • theoldlr
    Avatar
    Community Member
    103 Posts

    userforms - Field not obeying custom rules Link to this post

    What types of fluids are you interested in?
    OPTIONS: Cleaners & RP's, Coolants

    Any chlorinated paraffins being used? (Radio Button)
    OPTIONS: Yes, No
    Rules:
    -Hide by Default
    -Show this field when [What types of fluids are you interested in?] is [Value] [Cleaners & RP's]

    How much? (Dropdown Field)
    RULES
    -Hide by Default
    -Show this field when [Any chlorinated paraffins being used? ] is [Value] [Yes]
    -Hide this field when [What type of fluids are you interested in?] is [Value] [Coolants]

    I've tried changing the [How much?] field rules around. It is always hidden by default (good!), but when the [Any chlorinated paraffins being used?] field becomes visible (from the user changing the value of the [What types of fluids are you interested in?] field to [Cleaners & RP's]) the [How much?] field also becomes visible despite the fact that the [Any chlorinated paraffins being used?] has neither radio button selected yet. I also tried deleting and recreating the [How much?] field, deleting, recreating and changing the order of the values on the [Any chlorinated paraffins being used?]

    What am I missing??

    1126 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.