I am trying to set the maximum number of characters for a generic text field on a CRED user form I would like to know if there is a way to achieve this without using JavaScript, possibly by using a filter or extending the PHP class responsible for the generic text field.
Solution:
The best way to accomplish this is by adding JavaScript code to the JS Editor of your form to include the desired attribute.
[php]
document.addEventListener('DOMContentLoaded', function() {
var textField = document.querySelector('input[name="job_title"]');
if (textField) {
textField.setAttribute('maxlength', '50');
}
});
[/php]
Replace "job_title" with the field name that you have.
Problem:
I like to create CRM with a toolset is possible.
but I need also to display in back end results from customers can do that with Tooset
i like to make something like project manager Solution:
Unfortunately, there is no native feature in Toolset to integrate our plugins with a CRM system. The whole scope might need custom programming at many points which you will require to handle. You need to identity first and analyse the scope first by checking what things you can do with Toolset and what will require custom programming or you might need to use different plugin.
I am planning to create my own profile page, replacing the existing BuddyPress one, and I want the photo gallery on the new profile page to be password-protected. The idea is for a member to upload images using Forms to create a gallery, set a password to protect the images, and then share the password with friends to allow them access to the gallery.
Solution:
Creating such a profile page would require a separate custom post type. However, it's important to note that Toolset does not support the creation of password-protected posts natively. Custom development along with the Toolset Forms API would be needed to achieve this feature.