|
Delete all child posts when delete parent
Started by: patricioC
in: Toolset Professional Support
|
|
2 |
2 |
6 years, 8 months ago
Luo Yang
|
|
Adding files manually to children post type
Started by: mohammadD
in: Toolset Professional Support
|
|
2 |
7 |
6 years, 8 months ago
mohammadD
|
|
Limit number of repetitions in repeating field
Started by: Ljuba
in: Toolset Professional Support
Quick solution available
Problem: I would like to limit the number of repetitions in 4 repeating custom fields on a CRED form.
Solution: You must use custom JavaScript to limit these repeating fields on the front-end of the form. The following code works for the 4 fields mentioned here:
jQuery(window).bind("load", function(){
var maxreps = {
'wpcf-otros-nombres': 3,
'wpcf-patrono-a': 3,
'wpcf-imagenes-para-la-galeria': 6,
'wpcf-videos-incrustados': 6
};
jQuery(document).on( "click", ".js-wpt-repadd", function(e){
var $closest = jQuery(this).closest('.js-wpt-repetitive');
var isfile = $closest.find('input[type="file"]').length;
var name = isfile ? $closest.find('.wpt-repetitive-field:first input[type="file"]:first').attr('data-wpt-name') : $closest.find('.wpt-repetitive-field:first input:first').attr('data-wpt-name');
// how many repetitions?
if ( $closest.find('.wpt-repctl').length > maxreps[name] -1 ) {
// hide button to add more
jQuery(this).hide();
}
});
// add click listener to trash buttons
jQuery(document).on( "mouseup", ".js-wpt-repdelete", function(e){
var $closest = jQuery(e.target).closest('.js-wpt-repetitive');
$closest.find(".js-wpt-repadd").show();
});
});
|
|
2 |
12 |
6 years, 8 months ago
Ljuba
|
|
I am trying to disable the submit button via javascript
Started by: Adrian
in: Toolset Professional Support
Quick solution available
Problem:
The issue here is that the user wanted to disable the submit button on his CRED form using jQuery.
Solution:
To do this please use the code below. Add it to your js section of your CRED form and it should disable the button.
jQuery( document ).ready(function() {
console.log('document is ready');
setTimeout(function() {
jQuery('.finishprofilebutton').attr("disabled", "disabled")
}, 2000);
});
Relevant Documentation:
|
|
2 |
4 |
6 years, 8 months ago
Shane
|
|
I want to only display the parent items of the current user in a select box
Started by: razvanP
in: Toolset Professional Support
|
|
2 |
7 |
6 years, 8 months ago
Nigel
|
|
Calculate difference between two dates and save it into a third field.
Started by: Adrian
in: Toolset Professional Support
|
|
2 |
2 |
6 years, 8 months ago
Nigel
|
|
Passing Search/Selected Values to CRED Form
Started by: ManishT7809
in: Toolset Professional Support
Quick solution available
Problem:
Passing Search/Selected Values to CRED Form
Solution:
CRED shortcode [cred_field ] supports the urlparam attribute.
So - for instance, if you are passing the URL param as "myname", you should assign the field's urlparam value to myname.
For example:
[cred_field field='field' post='student' value='' urlparam='myname']
You can find proposed solution, in this case, with the following reply:
=> https://toolset.com/forums/topic/passing-search-selected-values-to-cred-form/#post-628174
Relevant Documentation:
|
|
2 |
2 |
6 years, 8 months ago
Minesh
|
|
Unlocking Content
Started by: Adrian
in: Toolset Professional Support
|
|
1 |
2 |
6 years, 8 months ago
Adrian
|
|
CRED user form to include WPUser Avatar field
Started by: Monique Bolland
in: Toolset Professional Support
Quick solution available
|
|
3 |
10 |
6 years, 8 months ago
andreaC-10
|
|
Get JSON data from another site to show on ffb.dk
Started by: kristenM
in: Toolset Professional Support
Quick solution available
|
|
2 |
5 |
6 years, 8 months ago
Christian Cox
|
|
Paypal integration
Started by: ujuO
in: Toolset Professional Support
|
|
2 |
2 |
6 years, 8 months ago
Shane
|
|
CRED Validation not working (requiring First and Last Name)
Started by: TomT2847
in: Toolset Professional Support
|
|
2 |
21 |
6 years, 8 months ago
TomT2847
|
|
I see post titles added by CRED having a Title like
Started by: JanP6468
in: Toolset Professional Support
Quick solution available
Problem
I noticed that whenever a CRED Form is submitted to create a post, an exact or maybe different copy of the same post (duplicate) is created that has the title like "AutoDraft..."
Why?
Solution
There are 2 Bugs provoking this issue.
One with Relevannsi, and one with SEO by Yoast and Elementor.
The last one has no patch yet, the first has one.
|
|
2 |
15 |
6 years, 9 months ago
JanP6468
|
|
registration form
Started by: alessandroR-3
in: Toolset Professional Support
Quick solution available
Problem:
I am trying to: display a user registration form on the wordpress page "Registrazione NCC"
I expected to see: the form
Instead, I got: nothing, (i tried using layouts too but without sucess
Solution:
you need to follow our document to setup access the the CRED form
https://toolset.com/documentation/user-guides/access-control-for-cred-forms/
I have done below modification in your website:
1) Edit the page "Registrazione NCC", section "Post Group", choose option as :
No Post Group selected.
2) Dashboard-> Toolset-> Access Control-> CRED form
in section "CRED Users Frontend Access",
find "Create Custom User with CRED Form "Registrazione NCC"", enable option for guest user.
Relevant Documentation:
https://toolset.com/documentation/user-guides/access-control-for-cred-forms/
|
|
2 |
5 |
6 years, 9 months ago
alessandroR-3
|
|
The Toolset Messaging
Started by: Jeffrey
in: Toolset Professional Support
Quick solution available
Problem
I want to apply the messaging system which the Toolset Classifieds Reference site uses. How can I do that?
Solution
It is not suggested to apply the Messaging system provided for that Reference Site on other but those reference sites.
The Plugin that makes it possible is an AddOn of Toolset (Toolset Classifieds) and it’s using hardcoded values related to the Reference Sites.
You can read a lengthy thread below if you want to dig into this anyway.
Suggested is, to use another Plugin when it comes to social networks like BuddyPress or similar. Toolset is not ideal for chats or instant messaging.
|
|
2 |
9 |
6 years, 9 months ago
Beda
|