Custom Fields
Re-Envisioned
Support General Using Gravity Forms (or any form) with a CPT

This topic contains 1 reply, has 2 voices, and was last updated by  Anh Tran 2 weeks, 4 days ago.

  • Creator
    Topic
  • #16715

    @mindspark
    Participant

    Hi Anh –

    I’m creating a client portal that uses a few different CPTs – one is TRAINING. The client plans to upload videos for employees to review. But after viewing the video, users need to complete a short quiz about the video.

    I’d like to use Gravity Forms since they have a Quiz add-on… I need to be able to track quick activity and relate to a specific video – so having the quiz displayed as a part of the CPT is important – I think.

    Is this possible? and if so – how would I proceed?

    thanks!

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #16719

    Anh Tran
    Keymaster

    Hi Neil,

    I think it’s possible:

    • You have a CPT – training
    • Each post with the “training” has a video, which is a Meta Box’s field.
    • It also has a quiz attached to it. Quiz can be created in GF or any plugin. Then attach to the CPT with Meta Box’s select field (or any field that allows you to choose a quiz). The options of the select field might need custom code to fetch all available quiz to select from.

    On the front end, you can simply display the video and the button to start the quiz. When the quiz is done, see if there’s any hook to allow you to update the post (training). If yes, then simply add the tracking data you want. If you want to track the video ID, then you can add the video (attachment) ID.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.