Complex List Field – Gravity Forms
Never mind… got it and feel stupid. This did the trick: #field_35_53 td::after { content: attr(data-label); font-size: 14px; letter-spacing: .5pt; white-space: nowrap; display: block; clear: both; }
Never mind… got it and feel stupid. This did the trick: #field_35_53 td::after { content: attr(data-label); font-size: 14px; letter-spacing: .5pt; white-space: nowrap; display: block; clear: both; }
After debugging, I noticed that the formId in the hooked function for filter was actually fieldId for the date field and hence the fieldId undefined. Here no actual formId is received in hooked JS filter function and the actual fieldId is passed as formId. So, quick workaround I applied using formId only, is: // Allow … Read more
Get value of pre-populated Gravity forms field as variable in my function
I think gform_after_submission is the wrong action to use in this case. Have you looked at gform_pre_send_email? It has an abort_email parameter, which might be useful.
Thanks for the question U can also make custom popup using bootstrap it’s totally customizable. Here is the example http://www.prepbootstrap.com/bootstrap-template/login-registration-modal#. To use this u need to copy required bootstrap files where u want to use this.
One way to achieve that is to use the gform_pre_render hook. I once did something similiar to this on a real site. add_action( ‘gform_pre_render’, ‘show_content_before_fields’ ); function show_content_before_fields( $form ) { $custom_field = new GF_Field_HTML(); // temporary field object to hold our custom html $custom_field->id = 0; // maybe unnecessary, can’t remember if really needed … Read more
Run htmlentities() on all submitted values through gravity forms
You will need to leverage the post_updated hook API of WordPress // You will need to leverage the <code>save post</code> hook API of WordPress add_action( ‘post_updated’, ‘save_post_callback’, 10, 3 ); //add_action(‘save_post’, ‘save_post_callback’); function save_post_callback($post_ID, $post_after, $post_before){ global $post; if ($post->post_type != ‘page’){ return; } // If you get here then it’s your post type so … Read more
Gravity Forms aren’t a post type, so it doesn’t display actual meta boxes. Even if you managed to add the meta box, it wouldn’t be functional, because the form isn’t a post.
Ok so now im as far as to getting “meters” returned after customer filled in street/city in page 1 of the form. Only thing is i only manage to get the result into an “html-block” with code underneath (by now plugin). I would like to get the result into the quantity field of a product, … Read more