Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
Sujets de forum créés
|I can't view my installed plugins||1||2||Il y a 1 mois|
|Submit Button Alignment||2||4||Il y a 1 an et 8 mois|
|Submit Button Alignment||2||8||Il y a 1 an et 9 mois|
|Save custom user field to the database||2||7||Il y a 1 an et 11 mois|
Enroll button without showing the form to the user
Problem: I would like to preselect a value in a hidden select field in Forms, and I would like to use a button element I created in Elementor to trigger a new post Form submission from a hidden Form.
Solution: Unfortunately there is no integration between the Elementor Button widget and Forms, so there's not an easy way to trigger a Toolset Forms submission using a button widget provided by Elementor. Instead, you can show a Submit button created in Forms.
To preselect a value in a Forms select field, using the drag-and-drop Form builder, you can open the settings for that select field and use the default value setting to specify which option value should be selected. In the Field Group editor, you can find the corresponding values for each option. Copy the value from the Field Group editor page into the default value option of the Form field configurations. See default-value.png for an example.
To hide the select field, drag one custom HTML content block above the select field and drag another custom HTML block below the select field. In the top HTML block, enter the HTML code as follows:
In the lower HTML block, enter the HTML code as follows:
That will wrap the select field in a hidden container.
To style the Submit button using your own custom CSS, you can open the Submit button configurations and add custom CSS classes as shown in custom-css-classes.png. Then add your own custom CSS styles targeting those class selectors in the Form's CSS editor.
|2||3||Il y a 1 an et 12 mois|
How to assign the same post to all user
I will create one course post with only one set of chapters for one course.
Users will not be the author of this post so how can I assign this same post to all users who sign up to my website as seperate posts so i can begin to work on how to capture each user's progress.
What we can do instead, is creating another custom post type, let's call it "Subscription" or "Enrollment", this post will be linked to the "Course" or the "Chapter" custom post type using a One-to-many relationship, and make the user the post's author. This way, a "Course" or "Chapter" will have multiple "Subscription" posts linked to it. Each "Subscription" post will have an enrolled user as the author.
On the "Course" or "Chapter" post page, we'll use a view that will query "Subscription" posts linked to this "Course" or "Chapter" that are created by the current user. If the user has already an existing post, we will use this post to track to progress. If the user does not have any posts, we can offer him a Toolset Form(may have only the submit button) to let the user enroll in this course/chapter by creating the "Subscription" post. Does it make sense?
Please note that Toolset relationships are only between two custom post types, so we can't have a relationship between Course, Chapter, and Subscription. We can only have it between a Course and a Subscription, or a Chapter and a subscription.
|2||3||Il y a 2 années|
|Course Design and create Pre-requisites||2||3||Il y a 2 années|
|Refresh screen||2||14||Il y a 7 années et 7 mois|
|How to send auto notifications when deleting a post via CRED form 1 2 3||3||33||Il y a 7 années et 7 mois|
|CRED – How to make fields required?||2||3||Il y a 7 années et 9 mois|
|[wp-if] does not work with CRED-2||2||14||Il y a 7 années et 9 mois|
|[wp-if] does not work with CRED||2||6||Il y a 7 années et 11 mois|
|Hi||2||3||Il y a 8 années|
|Installer not working||2||2||Il y a 8 années et 1 mois|
|All my views giving "llegal string offset 'query_type' error"||2||3||Il y a 8 années et 1 mois|