How to auto-populate a relationship field in a post form?
Started by: KeithM7209
in: Toolset Professional Support
2
2
3 years, 12 months ago
Christian Cox
Radio button not showing in the Post Form
Started by: ErinL1642
in: Toolset Professional Support
2
2
3 years, 12 months ago
Christian Cox
reCAPTCHA v3
Started by: christopheV-2
in: Toolset Professional Support
2
2
3 years, 12 months ago
Christian Cox
Translate button text
Started by: kelvinL-2
in: Toolset Professional Support
2
2
3 years, 12 months ago
Christian Cox
Split: converting markers from multiple maps into a single map
Started by: martinP-13
in: Toolset Professional Support
2
8
3 years, 12 months ago
martinP-13
post form , no image upload box showing on form
Started by: martinP-13
in: Toolset Professional Support
2
11
4 years ago
martinP-13
Generic select field with "Get options from a shortcode" — disable options
Started by: Lara
in: Toolset Professional Support
2
5
4 years ago
Lara
Toolset functionality
Started by: kathrynw
in: Toolset Professional Support
2
2
4 years ago
Christian Cox
The membership form keeps getting russian and other spam. How to fix?
Started by: amandaW-2
in: Toolset Professional Support
2
2
4 years ago
Christian Cox
Hiding options in the Post Form Content Field
Started by: igorL-3
in: Toolset Professional Support
Quick solution available
Problem: I would like to hide the Fields and Views, Forms, and Access buttons above WYSIWYG editors in my Forms from all Users except Admins.
Solution: Add the following custom code snippet in your child theme's functions.php file:
// https://toolset.com/forums/topic/hiding-options-in-the-post-form-content-field/
// hide advanced form buttons from non-admins
function remove_toolset_buttons(){
global $current_user, $wp_roles;
$admin = 'administrator'; // roles that can see the buttons
// get non-administrator role slugs
if ( ! isset( $wp_roles ) )
$wp_roles = new WP_Roles();
$all_roles = $wp_roles->get_names();
$editable_roles = apply_filters('editable_roles', $all_roles);
$editable_role_names = array();
foreach($editable_roles as $role=>$details) {
$editable_role_names[]= $role;
}
// remove f&v, forms, conditional output buttons
if ( !in_array( $admin, $current_user->roles ) ) {
add_filter( 'toolset_editor_add_form_buttons', '__return_false' );
add_filter( 'toolset_cred_button_before_print', '__return_false' );
}
// remove the Access button
add_filter( 'toolset_editor_add_access_button', function() use ($editable_role_names){
return $editable_role_names;
});
}
add_action( 'init', 'remove_toolset_buttons' );
2
3
4 years ago
igorL-3
Custom registration form
Started by: behnamN
in: Toolset Professional Support
2
3
4 years ago
behnamN
Unable to make the checkbox mandatory on CRED
Started by: himanshuS
in: Toolset Professional Support
2
8
4 years ago
himanshuS
Create custom post when new user register
Started by: kelvinL-2
in: Toolset Professional Support
2
4
4 years ago
Christian Cox
Contact the post author
Started by: MikeS1622
in: Toolset Professional Support
Quick solution available
2
13
4 years ago
MikeS1622
I wanted create two froms which are connected to each other
Started by: irfanA
in: Toolset Professional Support
2
8
4 years ago
Christian Cox