10375 Posts in 2190 Topics by 1707 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 653 Views |
-
The Userform Module Custom Rules don't work

17 September 2011 at 11:12pm
I am trying to build a Form that uses the custom rules in the Userform module.
For example:
1. I create a dropdown list with Option 1, Option 2 and Option 3
2. I create three HTML fields called HTML 1, HTML 2, HMTL3
3. Each HTML field by default is set to hidden
4. Each HTML field is set to show with a custom rule if value of Drop down field (step 1) is value "Option 1" (for HTML 1 field), "Option 2" (for HTML 2 field) and "Option 3" (for HTML 3) field.Looking at the Published form I can select the options in the drop-down field, but it does not show any of the correponding HTML fields. Trying custom rules with other Form fields also returns no results. Custom rules don#t seem to work.
I am using Silverstrip 2.3.10
Help would be appreciated ...
thanks
-
Re: The Userform Module Custom Rules don't work

18 September 2011 at 3:53pm
Do you have any javascript errors on the page? Can you post the source of your webpage so we can look at what the generated javascript has.
Make sure you're running the latest master version of user forms. The last release is quite old now.
-
Re: The Userform Module Custom Rules don't work

20 September 2011 at 1:39am
Hi there,
I am using version 0.2.1 of userforms ... when you say master version, do you mean from svn ... as that does not seem to work with version 2.3.10 of silverstripe at all ...There are no javascript errors on the page (tested on local instance using firebug)
Here the HTML output is in the attached file. Thanks
-
Re: The Userform Module Custom Rules don't work

13 October 2012 at 2:21am
Hi,
I'm not getting them to work either.
When I say
Hide on default, nothing happens, still see them on my form page.
When I say
Show this field when .... value .... , nothing happens
Whatever I say nothing happens no errors nothing.
Can anyone help???
Gr. Suzanne
-
Re: The Userform Module Custom Rules don't work

13 October 2012 at 3:03pm
I just did a quick test using 3.0 and the latest master and seems to work as designed for me. Could you provide a link to your form (if it's public) and a screenshot of how the CMS is setup?
| 653 Views | ||
|
Page:
1
|
Go to Top |


