CRED plugin allows you to build front-end forms for creating and editing content. These forms can include all the fields that belong to the content and display them with your HTML styling. CRED forms also support input validation and automatic email notifications.
When you ask for help or report issues, make sure to tell us the structure and the settings of your form.
Viewing 15 topics - 4,876 through 4,890 (of 4,908 total)
The parameter mode="fade" in shortcode [cred_show_group] trigger the JS error
This is a bug of CRED version 1.6, the shortcode:
[cred_show_group ... mode="fade"] will trigger JS error:
Uncaught TypeError: n.easing[this.easing] is not a function
Solution:
edit it from:
[cred_show_group if="($(general-for-sale) gte '1' ) AND ($(general-for-sale) ne '9' ) AND ($(general-for-sale) ne '24' )" mode="fade"]
To:
[cred_show_group if="($(general-for-sale) gte '1' ) AND ($(general-for-sale) ne '9' ) AND ($(general-for-sale) ne '24' )" mode="slide"]
Relevant Documentation:
It will change the Jquery-ui effect from "fade" to "slide"
Problem:
How can I show the content of a CRED Form conditionally to what is selected in a Checkbox?
Solution:
1. In your CRED form, you can insert a CRED Generic Field of type Checkbox.
Choose to "save the value to the Database" when you insert the Generic Field.
2. Then, highlight everything in your CRED Form Code (all Fields that you want to hide initially) and click on Generic Fields > Conditional Group
3. There choose your above created Generic Field as the Data Source (condition) and pass the value that has to be true, to show the fields
4. If now the User of your CRED Form clicks (checks) the checkbox Field on the Front End where you display that CRED Form, all editable Fields of the Form will fade in and he/she will be able to edit them
Solution:
To display checkbox field with CRED form:
1)
created Custom Checkbox field in Types.
2)
inserted that created field in CRED Forms or click on button "Auto Generate" to generate all whole form automatically.