Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Temas del foro creados
|Submit Button Alignment||2||4||hace 1 año, 6 meses|
|Submit Button Alignment||2||8||hace 1 año, 7 meses|
|Save custom user field to the database||2||7||hace 1 año, 9 meses|
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||hace 1 año, 9 meses|
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||hace 1 año, 10 meses|
|Course Design and create Pre-requisites||2||3||hace 1 año, 10 meses|
|Refresh screen||2||14||hace 7 años, 5 meses|
|How to send auto notifications when deleting a post via CRED form 1 2 3||3||33||hace 7 años, 5 meses|
|CRED – How to make fields required?||2||3||hace 7 años, 7 meses|
|[wp-if] does not work with CRED-2||2||14||hace 7 años, 7 meses|
|[wp-if] does not work with CRED||2||6||hace 7 años, 9 meses|
|Hi||2||3||hace 7 años, 10 meses|
|Installer not working||2||2||hace 7 años, 11 meses|
|All my views giving "llegal string offset 'query_type' error"||2||3||hace 7 años, 11 meses|
|Use an image as a submit button||2||2||hace 7 años, 11 meses|