Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter fdfranklin06

    (@fdfranklin06)

    So I just realized that if you have the Field Label blank this will cause the above issue. We just use placeholders so all of our forms don’t use the “Field Label”.

    It would be nice if there was a way to have it pull in the placeholder text but I guess a workaround would be to just hide the label on the front end with CSS.

    Plugin Author Chris Lagasse

    (@soben)

    Hey fdfranklin,

    Yea, we’ve never encountered that yet, but that’s VERY good to know.

    I will change the code for the next revision for if there’s no “Field Label” then I’ll fall back to the field’s slug/id… And for the hell of it, I’ll also include an apply_filter with some details in case you’d like to override it.

    I should have some time today to crank that out, and I’ll let you know when it happens.

    Thread Starter fdfranklin06

    (@fdfranklin06)

    Awesome Chris! That sounds like it would work great.

    While I have a dialog going with you… I’m new to Hubspot, should my forms show conversion/views in the Hubspot dashboard? It shows the submissions using your plugin but it shows the views/conversions at 0/%0 in the hubspot forms dashboard. Is that just the way it works?

    Thanks!

    Plugin Author Chris Lagasse

    (@soben)

    Hey Franklin,

    I have NEVER been able to figure that out. I think the problem with that is because the form itself isn’t being used on a HubSpot page, so it’s not getting enough data to completely mark it as a solid conversion on the Forms page.

    However, if you click the “0” for the number of submissions, you will see the list of submissions that have been made via our plugin, regardless of the “0” on the previous page. It’s weird, but it’s how it seems to work.

    I will add it to my list of items, but it’s been something that I’ve noticed since my first release.

    -Chris.

    Plugin Author Chris Lagasse

    (@soben)

    I looked through my plugin code, and unfortunately this isn’t handled by me. This is handled by GravityForms proper, with it’s Feed Addon API.

    'fields' => array (
       array(
           'name'           => 'fieldMap',
           'label'          => __( 'HubSpot to Gravity Forms', 'gravityforms-hubspot' ),
           'type'           => 'field_map',
           'field_map'      => $this->list_hubspot_form_fields(),
           'tooltip'        => '<h6>'. __( 'Map Fields', 'gravityforms-hubspot' ) .'</h6>' . __( 'Select which Gravity Form fields pair with their respective HubSpot fields.', 'gravityforms-hubspot' )
       ),
    ),

    The fields I provide via ‘field_map’ are only HubSpot fields, not their Gravity Forms dropdowns. I just tried to tinker with that, with no luck. I will keep looking into it, but your research may be as good as mine (looking through the gravityforms code for an apply_filter on the dropdown fields that are generated)… I’ll see what I can find out, but for the sake of my plugin, this task is resolved…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blank form fields.’ is closed to new replies.