Limit submissions per session, per user, per time period
Started by: virageguitars
in: Toolset Professional Support
Quick solution available
2
3
7 years, 8 months ago
virageguitars
How to create a membership site where each member sees and edits only one page?
Started by: ivanJ
in: Toolset Professional Support
2
2
7 years, 8 months ago
Nigel
can't see Create Account page from front end
Started by: markL-9
in: Toolset Professional Support
2
5
7 years, 8 months ago
markL-9
Cred form edit does not work, it don't show edit form
Started by: David Treviño
in: Toolset Professional Support
3
9
7 years, 8 months ago
Beda
Check if user is logged in
Started by: julieP
in: Toolset Professional Support
Quick solution available
Problem:
How can I check if the current user is logged in and present different content depedning on this?
Solution:
You can use HTML conditional.
The example code is:
[wpv-conditional if="( '[wpv-current-user info='logged_in']' eq 'true' )"]I am Logged in[/wpv-conditional]
[wpv-conditional if="( '[wpv-current-user info='logged_in']' eq 'false' )"]I am not Logged in[/wpv-conditional]
Relevant Documentation:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/
2
5
7 years, 8 months ago
julieP
Building a members directory site with toolset
Started by: gabrielG
in: Types Community Support
2
2
7 years, 8 months ago
Luo Yang
Does Toolset play well with WooCommerce Memberships & Subscriptions
Started by: gabrielG
in: Toolset Professional Support
2
2
7 years, 8 months ago
Nigel
same id
Started by: abold
in: Toolset Professional Support
2
6
7 years, 8 months ago
Minesh
Allow Media Upload in a CRED form
Started by: Rich
in: Toolset Professional Support
Quick solution available
3
6
7 years, 9 months ago
fernandoS-3
How to expire users that are registered with payment formula (CRED registration)
Started by: s1
in: Toolset Professional Support
3
7
7 years, 9 months ago
Juan
Issue with: Set checked by default (on new post)?
Started by: Rich
in: Toolset Professional Support
Quick solution available
2
4
7 years, 9 months ago
Minesh
Forget Password Form
Started by: matthewS-5
in: Toolset Professional Support
2
3
7 years, 9 months ago
matthewS-5
Error uploading image to CRED form
Started by: natashaB
in: Toolset Professional Support
Quick solution available
Problem:
Validate fields value in CRED user form.
I'm using a function to validate the form data :
add_filter('cred_form_validate_605', 'validate_form_with_id_605');
function validate_form_with_id_605( $data ) {
list($fields,$errors)=$data;
if (empty($fields['first_name']['value'])) {$errors['first_name'] = 'Missing';}
if (empty($fields['last_name']['value'])) {$errors['last_name'] = 'Missing';}
return array($fields,$errors);
}
Solution:
You can try to modify the PHP codes as below and test again:
add_filter('cred_form_validate_605', 'validate_form_with_id_605');
function validate_form_with_id_605( $data ) {
if(!isset($_POST['form_submit_1'])){
list($fields,$errors)=$data;
if (empty($fields['first_name']['value'])) {$errors['first_name'] = 'Missing';}
if (empty($fields['last_name']['value'])) {$errors['last_name'] = 'Missing';}
}
return array($fields,$errors);
}
Relevant Documentation:
2
5
7 years, 9 months ago
natashaB
Subscription renewal – 6 days notice too short; renew before expire.
Started by: jamesH-10
in: Toolset Professional Support
2
2
7 years, 9 months ago
Juan
Continued – Save avg of child cpf to parent radio cpf to allow searching
Started by: Geoffrey Cleverley
in: Toolset Professional Support
3
16
7 years, 9 months ago
Geoffrey Cleverley