ivicaV
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 hide label in checkbox?
Started by: ivicaV
in: Toolset Professional Support
Problem: I have a single checkbox field in a Form, and I would like to remove the label text that appears automatically next to the checkbox input. Solution: The following code will remove the label text from this checkbox, on all Forms: add_filter('cred_filter_field_before_add_to_form', 'remove_cb_label', 10, 2); function remove_cb_label($field, $computed_values){ if(isset($field['id']) && in_array($field['id'], array('your-field-slug'))){ $field['title'] = ''; } return $field; } |
2 | 3 | 6 years, 7 months ago | ||
Save user IP address when form is submitted
Started by: ivicaV
in: Toolset Professional Support
Problem: I am trying to save user IP address while he submits form. Solution: It needs some custom codes, see the solution here: Relevant Documentation: http://php.net/manual/en/reserved.variables.server.php https://developer.wordpress.org/reference/functions/update_post_meta/ |
2 | 3 | 6 years, 7 months ago |