內容簡介
此外掛可讓您使用 Gravity Forms 創建高級和複雜的註冊表格,以進行 The Events Calendar 活動的註冊。表單可在多個活動中重複使用,不會衝突。
需求
PHP 7.0+
Gravity Forms
The Events Calendar
設置
首先,創建一個新的 Gravity Form。確保您的表單有一個您可以用來跟踪報名人數的字段。例如,如果您只需要每次提交表單時註冊一個人,則這可以是一個“名稱”字段。
接下來,創建一個新的活動。您將在事件編輯屏幕上看到一個新的元框,允許您選擇一個活動註冊表單。選擇表單和用於跟踪已註冊人數的表單字段。對於複雜的註冊要求,您可能需要添加其他表單字段。例如,如果您的活動可以容納20名成人和10名兒童,那麼您應該選擇一個表單字段來跟踪每個註冊類型。輸入一個數字以限制表單可以接受的註冊數量。
最後,配置表單選項。您可以輸入一個通知,這將顯示在表單中。如果您想通知用戶有多少預訂仍然可用,這非常有用。
可選:您可以在 Gravity Forms 通知模板中添加 {event_info} 合併標記,以在通知電子郵件中包含基本的活動信息。
自定義
請參閱GitHub 上的自述文件。
外掛標籤
開發者團隊
② 後台搜尋「Events Calendar GForms Registration」→ 直接安裝(推薦)
原文外掛簡介
This plugin allows you to use Gravity Forms to create advanced and sophisticated registration forms for The Events Calendar events. Forms can be reused for multiple events without conflict.
Requirements
PHP 7.0+
Gravity Forms
The Events Calendar
Setup
First create a new Gravity Form. Make sure your form has one field that you can use to track the number of registrants. For example, this could be a “name” field if you only need to register one person per form submission.
Next, create a new event. You will see a new meta box on the event edit screen that allows you to select an event registration form. Select the form and the form field that will be used to track the number of people who have registered. For complex registration requirements, you may need to add additional form fields. For example, if your event can accommodate 20 adults and 10 children, then you should select a form field to track each of those registrant types. Enter a number to limit the number of registrations that the form can accept.
Lastly, configure the Form Options. You can enter a notice that will be displayed within the form. This can be helpful if you want to notify users about how many reservations remain.
Optional: You can include basic event information in notification emails by adding the merge tag {event_info} to the Gravity Forms notification template.
Customization
Refer to the Readme on GitHub.
