LLMS_Forms_Dynamic_Fields
Manage dynamically generated fields added to the form outside of the block editor
Description Description
Source Source
File: includes/forms/class-llms-forms-dynamic-fields.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |
Methods Methods
- __construct — Constructor
- add_block — Creates a new HTML block with the given settings and inserts it into an existing blocks array at the specified location
- add_password_strength_meter — Adds a password strength meter to a block list
- find_block — Finds a block with the specified ID within a list of blocks
- get_toggle_button_html — Retrieve the HTML for a field toggle button link
- modify_account_form — Modifies account form to improve the UX of editing the email address and password fields
- modify_toggle_blocks — Modifies block settings for toggle-controlled fields
- toggle_for_email_address — Adds a toggle link button allowing the user to change their email address
- toggle_for_password — Adds a current password field and a toggle link button allowing the user to change their password