|
|
The Front-end cred from is not submitting data
Started by: adriS
in: Toolset Professional Support
Quick solution available
|
|
2 |
8 |
4 years, 2 months ago
adriS
|
|
|
archive page layout exceed page
Started by: allianceP
in: Toolset Professional Support
Quick solution available
Problem:
The issue here is that the user's custom archive pagination was exceeding the page width limit as they had 30 plus pages in their pagination.
Solution:
I suggest breaking up your pagination in to blocks rather than having it list out all the possible pages.
To do this you will need to select your pagination and add a value for the Pages to Skip field.
This option can be found when you've selected your pagination block and check the pagination settings sidebar.
|
|
2 |
5 |
4 years, 2 months ago
allianceP
|
|
|
Make the toolset form generic field be searchable
Started by: kelvinL-2
in: Toolset Professional Support
Quick solution available
Problem:
The issue here is that the user wanted to integrate the select2 dropdowns for their Toolset forms Generic fields.
Solution:
This can be done by importing the select2 javascript and css library.
Add the following to your custom code snippets at Toolset->Settings-> Custom Code and activate it.
wp_enqueue_script('select2_js', '//cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js', array(), null, true);
wp_enqueue_style( 'select2_css', '//cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css' );
From there you will need to add the following JS to your Form's JS section to enable the select2 for your field.
jQuery(document).ready(function() {
jQuery('.class-goes-here').select2();
});
Now you will need to replace 'class-goes-here' with the ID/Class of the custom field that is generated on the frontend.
For further information on the usage of Select2 I recommend looking at the documentation below.
https://select2.org/getting-started/basic-usage
|
|
2 |
3 |
4 years, 2 months ago
kelvinL-2
|