Checkboxes
Started by: derrickM
in: Toolset Professional Support
Quick solution available
Problem:
The issue here is that the user wanted to know the purpose of the value on the checkbox.
Solution:
It will show on the frontend, the value that you set that checkbox field to.
So if you set a text as the checkbox value, when you view it on the frontend using the Types shortcode it will display, the value.
I would recommend setting the value to the same as the label.
2
6
6 years, 11 months ago
derrickM
Limit repetitive fields inputs on CRED forms
Started by: sahrf
in: Toolset Professional Support
Quick solution available
Problem:
A CRED form includes a repetitive field for images. The client wants to limit how many images the user can upload.
Solution:
This is not possible with Toolset settings and requires writing custom code, specifically jQuery in this case.
A possible solution would be the following, though you may need to modify it for your own use.
( function( $ ) {
$( document ).ready( function(){
let maxreps = 4;
$(".js-wpt-repadd").on( "click", function(e){
// how many repetitions?
if ( $('.wpt-repctl').length >= maxreps -1 ) {
// hide button to add more
$(this).hide();
}
});
// add click listener to trash buttons
$(".click-form").on( "click", ".js-wpt-repdelete", function(e){
$(".js-wpt-repadd").show();
});
});
})( jQuery );
Add that to the custom JS section of the form, and edit for the maximum number of repetitions.
3
6
6 years, 11 months ago
andyK-6
How can i set the avada options to all the custom post?
Started by: diegoD
in: Toolset Professional Support
Quick solution available
Problem:
Have avada page settings on custom post types.
Solution:
I'm not so sure that our forum would be the best place to get an answer for this since the option is from the Avada theme.
I would recommend contacting their support forum as they may know more about this one.
However I do know that with theme options for posts you need to apply it to each post individually, I may be wrong.
2
2
6 years, 11 months ago
Shane
Translating “Add new” button on the file upload backend field
Started by: christianS-12
in: Toolset Professional Support
Quick solution available
3
5
6 years, 11 months ago
jozsefG