hui-suanC
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
How to Navigate between different parts of multi step form?
Started by: hui-suanC in: Toolset Professional Support |
2 | 4 | 4 years, 12 months ago | ||
Add Taxonomy after submission of front end “create new post” form
Started by: hui-suanC
in: Toolset Professional Support
Problem: I have a Form that creates new posts. I would like to automatically add a specific term to the new post using the Forms API, but the update_post_meta function isn't working as expected. Solution: Try the wp_set_object_terms function with the Forms API cred_save_data: wp_set_object_terms( $post_id, 'term-slug', 'taxonomy-slug' ); Relevant Documentation: |
2 | 3 | 5 years, 4 months ago | ||
Custom Form Validation
Started by: hui-suanC
in: Toolset Professional Support
Problem: I would like to add some custom validation to a Form with two custom date fields. I would like to validate it such that the start date is before the end date. How can I access the date value in the $error_fields parameter? Solution: Use the following syntax to access the Unix timestamp for a datepicker field: add_filter('cred_form_validate','start_end_date',10,2); function start_end_date($error_fields, $form_data) { //field data are field values and errors list($fields,$errors)=$error_fields; ... $fields['wpcf-date-start']['value']['datepicker'] Relevant Documentation: |
2 | 3 | 5 years, 4 months ago | ||
Validation form disappears after a few clicks
Started by: hui-suanC in: Toolset Professional Support |
2 | 11 | 5 years, 12 months ago | ||
Google Maps Location Accuracy
Started by: hui-suanC
in: Toolset Professional Support
Problem: I would like to display more general map markers so my locations aren't public. Solution: There is no accuracy setting on maps, so you can use two map markers instead. One marker should be the accurate address, and another marker can be a nearby, more generic address. Relevant Documentation: |
2 | 5 | 6 years ago | ||
Error when updating Snippets: It throws an error for the sample code
Started by: hui-suanC in: Toolset Professional Support |
3 | 6 | 6 years ago | ||
Feature requests on Toolset form validation
Started by: hui-suanC in: Toolset Professional Support |
2 | 2 | 6 years ago | ||
Restrict City Options Based on State Selected (Similar to WPDiscover RealEstate)
Started by: hui-suanC
in: Toolset Professional Support
Problem: I am using the Real Estate reference site as an example. When creating a House post, I would like to select a State, then select a City from a list of Cities in that State. Solution: In Forms, there is a more complex solution: - Create a generic select field that includes an option for each State. The value of each option should be the State post ID. You can use a View of States to create the options for the generic field. - Next create one generic select field for each State. Add options for each City in that State. You can use a View of Cities filtered by post relationship to create the options for the generic fields. - Use Conditional Field Groups to show and hide the City select fields based on the selected State. - Then capture the selected City post ID using the Forms API, and use the Post Relationships API to link the House and the City. Relevant Documentation: |
2 | 6 | 6 years ago | ||
Relationship forms capability disappears after Custom Fields were added
Started by: hui-suanC in: Toolset Professional Support |
2 | 7 | 6 years ago | ||
Relationship forms not showing
Started by: hui-suanC
in: Toolset Professional Support
Problem: The issue here is that the user is unable to add a new relationship form. Solution: To get the relationship form you need to create a many to many relationship |
2 | 9 | 6 years ago | ||
403 error: We’re sorry, you are not allowed to proceed
Started by: hui-suanC
in: Toolset Professional Support
Problem: Download a module using the module manager Link to a page where the issue can be seen: when I go to modules and click on import. It will show me a 403 error. Solution: It might be a server problem, some webserver don't support cURL, but the module manager needs cURL to download some files. Please check it with your webserver provider, check if the cURL is enabled You can also setup a test site in your localhost, activate module manager plugin, download the modules, then migrate the website to your webserver. Relevant Documentation: https://toolset.com/faq/how-do-i-migrate-a-wordpress-site-from-one-domain-to-the-other/ |
2 | 6 | 6 years ago | ||
Custom Post Layout appears in the editing form section
Started by: hui-suanC in: Toolset Professional Support |
2 | 3 | 6 years, 3 months ago | ||
Modify Access: Bug? Cannot type anything to get the posts
Started by: hui-suanC in: Toolset Professional Support |
1 | 2 | 6 years, 4 months ago | ||
Autocomplete with Categories
Started by: hui-suanC in: Toolset Professional Support |
2 | 3 | 6 years, 4 months ago |