• Resolved LS

    (@lsterling03)


    Hi, it appears the plugin only maps GF fields to Zoom’s default fields. Is there any way to map Zoom custom questions?

    Thanks!

    • This topic was modified 1 year, 2 months ago by LS.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author PluginRx

    (@apos37)

    Hi @lsterling03, currently there is not a way to do so, but it’s on my todo list. Just have a few other things in the pipeline before I can get to it. I’ve made note to inform you here when I get it updated. 🙂

    Plugin Author PluginRx

    (@apos37)

    @lsterling03, for the time-being, I added support for a developer hook so you can add custom questions that way if you like. To do so, please update to version 1.4.0 and read the updated plugin details page for an example snippet you can use to accomplish this. If you are unfamiliar with how to add snippets, I suggest using the Code Snippets plugin which makes it super simple. You can also reach out to us for more help if needed.

    Thread Starter LS

    (@lsterling03)

    That’s great! Thank you! Using your example, is this how I would add multiple fields? Or should I repeat the whole filter for each field?

    add_filter( 'gravityzwr_registration_fields', function( $fields ) {  
    $fields[ 'referral_source' ] = [
    'type' => 'string',
    'name' => 'Referral Source',
    'required' => false,
    ];
    $fields[ 'another_field' ] = [
    'type' => 'string',
    'name' => 'Another Field',
    'required' => false,
    ];
    return $fields;
    } );
    Thread Starter LS

    (@lsterling03)

    Hi, I implemented it with one custom question, which is marked as required in Zoom. The filter correctly made that question appear in the GF zoom settings and I mapped it to the GF field. However, when submitting the form, I get this error:

    “Zoom API error when attempting registration: Code – 300, Message – The parameter is required in custom_questions: Institution.”

    The field is marked as required in the filter:

    add_filter( 'gravityzwr_registration_fields', function( $fields ) {
    $fields[ 'institution' ] = [
    'type' => 'string',
    'name' => 'Institution',
    'required' => true,
    ];
    return $fields;
    } );

    Do you know why I would get this error?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom questions’ is closed to new replies.