givewp icon indicating copy to clipboard operation
givewp copied to clipboard

`give_goal` and `give_form` with a legacy template should display the form goal

Open JoshuaHungDinh opened this issue 3 years ago • 0 comments

Details

Currently if using the shortcodes give_goal or give_form with a legacy template. The form goals are not displaying.

Expected Behavior

While using either shortcode with a legacy template the goals display accordingly.

Steps to Reproduce

  1. Create a form with the legacy template.
  2. Create a page and use the shortcodes [give_goal] and [give_form].
  3. View page.

Visuals

https://user-images.githubusercontent.com/75056371/191845008-4f2105d1-ff9c-4715-a631-0ee398dfcd0e.mov

Acceptance Criteria

  • [x] The shortcode [give_goal] works correctly by displaying the goal of the form id given.
  • [x] The shortcode [give_form] works correctly with all templates by displaying the goal of the form id given.
  • [x] While changing the goal options for a form, the correct options display with both [give_goal] and [give_form]

JoshuaHungDinh avatar Sep 22 '22 20:09 JoshuaHungDinh