Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
11d3f64
refactor: update close icon SVG to use stroke-based design
shervElmi Nov 5, 2025
15abbb4
feat: add top margin spacing to upgrade overlay message
shervElmi Nov 5, 2025
dcfd329
feat: add preview image to file upload field upsell
shervElmi Nov 6, 2025
e8b1749
feat: add rich text field upsell messaging and preview image
shervElmi Nov 6, 2025
86a552d
feat: add preview image and description for date field
shervElmi Nov 6, 2025
ef85abf
feat: add upsell messaging and preview image for time field
shervElmi Nov 6, 2025
3f34b04
feat: update scale field upsell with improved messaging and preview i…
shervElmi Nov 6, 2025
1afc807
feat: add upsell messaging and preview image for star rating field
shervElmi Nov 6, 2025
381ef53
feat: add upsell messaging and preview image for slider field
shervElmi Nov 6, 2025
a2c992d
feat: add upsell messaging and preview image for toggle field
shervElmi Nov 6, 2025
6a74752
feat: update Dynamic field upsell messaging and add preview image
shervElmi Nov 6, 2025
cebb3cd
feat: update lookup field upsell messaging and preview
shervElmi Nov 6, 2025
d4192bc
feat: update repeater field upsell messaging and preview
shervElmi Nov 6, 2025
8f1328a
feat: add upsell messaging and preview image for Section field
shervElmi Nov 6, 2025
e231846
feat: improve page break field upsell messaging
shervElmi Nov 6, 2025
f76ccd7
feat: add upsell content for Embed Form field
shervElmi Nov 6, 2025
0c20bbc
feat: add upsell messaging and preview image for Likert Scale field
shervElmi Nov 6, 2025
b02012d
feat: add upsell messaging and preview image for NPS field
shervElmi Nov 6, 2025
1438b38
feat: add upsell messaging for password field type
shervElmi Nov 6, 2025
d5771a3
feat: add upsell preview for tags field
shervElmi Nov 6, 2025
3a81d8a
feat: add promotional content to address field configuration
shervElmi Nov 6, 2025
8ebc7ae
feat: improve summary field upsell messaging and add preview image
shervElmi Nov 6, 2025
b42e541
feat: add upsell messaging and preview image for signature field
shervElmi Nov 6, 2025
e3dee29
feat: update AI field upsell messaging and add preview image
shervElmi Nov 6, 2025
1ab8098
feat: update appointment field upsell presentation
shervElmi Nov 6, 2025
31e6605
feat: add upsell messaging and preview image for Product field
shervElmi Nov 6, 2025
2527e3b
feat: add upsell messaging and preview image for quantity field
shervElmi Nov 6, 2025
73e09f2
feat: add upsell messaging and preview image for Total field
shervElmi Nov 6, 2025
3de7491
feat: update ranking field upsell preview image
shervElmi Nov 6, 2025
e07d2e3
chore: remove unused documentation images
shervElmi Nov 6, 2025
8be4294
refactor: adjust upgrade modal styling and icon coordinates
shervElmi Nov 6, 2025
fd1fcdb
fix: correct button selector specificity in upgrade modal focus state
shervElmi Nov 11, 2025
0fd0dba
refactor: improve upgrade modal styling structure
shervElmi Nov 11, 2025
a49f3dd
refactor: reorder install button elements in upgrade overlay
shervElmi Nov 11, 2025
ae15e5c
feat: add Learn More button to upgrade overlay
shervElmi Nov 11, 2025
d60dd44
style: add open lock icon and adjust spacing
shervElmi Nov 11, 2025
5ca7cce
feat: update upgrade popup UI for better clarity
shervElmi Nov 11, 2025
a3a1f0d
refactor: reorganize preview images from fields to upsell directory
shervElmi Nov 13, 2025
4af1771
refactor: update upsell image paths from fields/ to upsell/ directory
shervElmi Nov 13, 2025
5afec47
feat: add flex-direction row-reverse utility class
shervElmi Nov 13, 2025
47650b8
feat: add upsell messaging for background image styles
shervElmi Nov 13, 2025
a411726
refactor: update all upsell preview images with optimized versions
shervElmi Nov 18, 2025
19f0127
refactor: convert upsell preview images from PNG to WebP format
shervElmi Nov 18, 2025
5dd875f
refactor: convert background image styles preview from PNG to WebP fo…
shervElmi Nov 18, 2025
318ef04
feat: add WebP preview images for all field types and features
shervElmi Nov 18, 2025
c52cbb2
refactor: remove PNG preview images from upsell directory
shervElmi Nov 18, 2025
79f6d62
add auto-generated files
shervElmi Nov 18, 2025
042b2bc
feat: improve upgrade modal layout with flexbox styling
shervElmi Nov 18, 2025
d4020d4
refactor: improve upgrade modal icon handling and styling
shervElmi Nov 18, 2025
af5e358
feat: add activation message for installed but inactive field types
shervElmi Nov 18, 2025
abbe7cf
refactor: simplify one-click upgrade modal to activation-only flow
shervElmi Nov 19, 2025
ef15ab1
refactor: improve upgrade modal title display for one-click activation
shervElmi Nov 19, 2025
0b3a321
refactor: adjust upgrade modal width and simplify conditional logic
shervElmi Nov 19, 2025
2e610aa
refactor: add suffix span to upgrade modal title for activation confi…
shervElmi Nov 19, 2025
83a3f70
refactor: extract upgrade modal success state into dedicated function
shervElmi Nov 19, 2025
dda80fc
refactor: add success state styling for upgrade modal
shervElmi Nov 19, 2025
1aeff0a
refactor: adjust upgrade modal default width from 550px to 552px
shervElmi Nov 20, 2025
e88df71
feat: add learn-more links with UTM tracking to all pro field upsells
shervElmi Nov 20, 2025
c8900c1
refactor: add learn-more link support to upgrade modal for pro field …
shervElmi Nov 20, 2025
e7f15ba
feat: add learn-more links to form settings and landing page upsells
shervElmi Nov 20, 2025
3e62af2
refactor: adjust upgrade modal actions layout and spacing
shervElmi Nov 20, 2025
589d776
refactor: clone entire upgrade modal actions container instead of jus…
shervElmi Nov 20, 2025
3024ce0
Add auto-generated files
shervElmi Nov 20, 2025
ba28f04
refactor: consolidate upsell image path construction for pro field types
shervElmi Nov 20, 2025
b636d69
refactor: add learn-more link to form abandonment settings upsell
shervElmi Nov 20, 2025
5cb18fc
refactor: add learn-more link to background image styles upsell
shervElmi Nov 20, 2025
d1741d2
refactor: hide upgrade modal title suffix by default
shervElmi Nov 20, 2025
a520460
Merge branch 'master' into rock/project-elevate
shervElmi Nov 20, 2025
777ca98
refactor: add target blank and noopener to appointment field upsell link
shervElmi Nov 25, 2025
9f7055c
refactor: align upgrade modal learn-more link to end
shervElmi Nov 25, 2025
3e91658
refactor: ensure modal icon defaults to lock icon and remove green st…
shervElmi Nov 25, 2025
5962ed5
add auto generated files
shervElmi Nov 25, 2025
4448459
Merge remote-tracking branch 'origin/HEAD' into rock/project-elevate
shervElmi Nov 27, 2025
44efe77
Refactor pro field selection to use relative URLs instead of full URL…
shervElmi Nov 27, 2025
4b51582
Remove trailing whitespace from docblocks and add get_doc_url helper …
shervElmi Nov 27, 2025
128e6f0
Refactor get_doc_url to support custom base paths and update pro fiel…
shervElmi Nov 27, 2025
f18fdec
Simplify learn-more field structure by using string paths instead of …
shervElmi Nov 27, 2025
0cf929b
Refactor get_doc_url to use boolean flag for knowledgebase path and a…
shervElmi Nov 27, 2025
d2117c9
Refactor learn-more URLs in form and global settings to use get_doc_u…
shervElmi Nov 27, 2025
599ff6e
Refactor landing page upgrade learn-more URL to use get_doc_url helpe…
shervElmi Nov 27, 2025
d3b7e73
Update toggle field pro upsell message to highlight cascading fields …
shervElmi Nov 27, 2025
164b0e6
Refactor upgrade modal icon handling to use svg helper method and sim…
shervElmi Nov 28, 2025
2b06060
Merge branch 'master' into rock/project-elevate
Crabcyborg Nov 28, 2025
1c6c58d
Replace else if with elseif for coding standards compliance
shervElmi Nov 28, 2025
ccce68c
Remove sprintf usage and split upgrade message into separate translat…
shervElmi Nov 28, 2025
3f8b08f
Add auto generated files
shervElmi Nov 28, 2025
0cc86fe
Crabcyborg Nov 28, 2025
55788d4
Separate php docs
Crabcyborg Nov 28, 2025
6878b01
Add null check for link icon before accessing attributes in upgrade p…
shervElmi Nov 28, 2025
7c1b7a6
make delete forms test more stable
lauramekaj1 Nov 28, 2025
4f7fb14
Add null check for upgrade modal actions container before cloning in …
shervElmi Dec 1, 2025
1c11054
Merge pull request #2617 from Strategy11/fix-delete-form-test
Crabcyborg Dec 1, 2025
102ee10
Merge branch 'master' into rock/project-elevate
Crabcyborg Dec 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions classes/controllers/FrmFormsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1504,6 +1504,7 @@ private static function get_settings_tabs( $values ) {
'upgrade' => __( 'Form Permissions', 'formidable' ),
'message' => __( 'Allow editing, protect forms and files, limit entries, and save drafts. Upgrade to get form and entry permissions.', 'formidable' ),
'screenshot' => 'permissions.png',
'learn-more' => FrmAppHelper::get_doc_url( 'general-form-settings/#kb-form-permissions', 'form-permissions-settings' ),
),
),
'scheduling' => array(
Expand All @@ -1514,6 +1515,7 @@ private static function get_settings_tabs( $values ) {
'medium' => 'scheduling',
'upgrade' => __( 'Form scheduling settings', 'formidable' ),
'screenshot' => 'scheduling.png',
'learn-more' => FrmAppHelper::get_doc_url( 'general-form-settings/#kb-form-scheduling', 'form-scheduling-settings' ),
),
),
'buttons' => array(
Expand All @@ -1538,6 +1540,7 @@ private static function get_settings_tabs( $values ) {
'upgrade' => __( 'Conversational Forms', 'formidable' ),
'message' => __( 'Ask one question at a time for automated conversations.', 'formidable' ),
'screenshot' => 'chat.png',
'learn-more' => FrmAppHelper::get_doc_url( 'conversational-forms', 'conversational-forms-settings', false ),
)
),
),
Expand All @@ -1551,6 +1554,7 @@ private static function get_settings_tabs( $values ) {
'upgrade' => __( 'Form abandonment settings', 'formidable' ),
'message' => __( 'Unlock the power of data capture to boost lead generation and master the art of form optimization.', 'formidable' ),
'screenshot' => 'abandonment.png',
'learn-more' => FrmAppHelper::get_doc_url( 'features/form-abandonment-wordpress-plugin', 'form-abandonment-settings', false ),
)
),
),
Expand Down
2 changes: 2 additions & 0 deletions classes/controllers/FrmSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ private static function get_settings_tabs() {
'medium' => 'white-label',
'upgrade' => __( 'White labeling options', 'formidable' ),
'screenshot' => 'white-label.png',
'learn-more' => FrmAppHelper::get_doc_url( 'features/white-label-form-builder-wordpress', 'white-labeling-global-settings', false ),
),
),
'inbox' => array(
Expand All @@ -133,6 +134,7 @@ private static function get_settings_tabs() {
'medium' => 'inbox-settings',
'upgrade' => __( 'Inbox settings', 'formidable' ),
'screenshot' => 'inbox.png',
'learn-more' => FrmAppHelper::get_doc_url( 'global-settings-overview/#kb-inbox', 'inbox-global-settings' ),
),
),
);
Expand Down
23 changes: 22 additions & 1 deletion classes/helpers/FrmAppHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3451,7 +3451,7 @@ public static function json_to_array( $json_vars ) {
* @param string $l1
* @param mixed $val
* @param array $vars
*
*
* @return void
*/
public static function add_value_to_array( $name, $l1, $val, &$vars ) {
Expand Down Expand Up @@ -4534,6 +4534,7 @@ public static function get_landing_page_upgrade_data_params( $medium = 'landing'
'upgrade' => __( 'Form Landing Pages', 'formidable' ),
'message' => __( 'Easily manage a landing page for your form. Upgrade to get form landing pages.', 'formidable' ),
'screenshot' => 'landing.png',
'learn-more' => self::get_doc_url( 'landing-page-forms', 'form-landing-page-settings', false ),
);
return self::get_upgrade_data_params( 'landing', $params );
}
Expand Down Expand Up @@ -4951,6 +4952,26 @@ public static function is_valid_utf8( $string ) {
return false;
}

/**
* Get a documentation URL with UTM parameters and affiliate tracking.
*
* @since x.x
*
* @param string $path The relative path to append to the base URL.
* @param string $campaign The campaign to use for UTM parameters.
* @param bool $add_kb_base Whether to prepend 'knowledgebase/' to the path. Default true.
*
* @return string The processed URL with UTM parameters and affiliate tracking.
*/
public static function get_doc_url( $path, $campaign, $add_kb_base = true ) {
$path = trim( $path, '/' );
if ( $add_kb_base ) {
$path = 'knowledgebase/' . $path;
}

return self::maybe_add_missing_utm( 'https://formidableforms.com/' . $path, array( 'campaign' => $campaign ) );
}

/**
* @since 5.0.16
* @deprecated x.x
Expand Down
16 changes: 15 additions & 1 deletion classes/helpers/FrmFieldsHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2412,7 +2412,21 @@ public static function show_add_field_buttons( $args ) {
$li_params['data-upsell-image'] = $field_type['upsell_image'];
}

if ( $upgrade_message ) {
if ( ! empty( $field_type['learn-more'] ) ) {
$li_params['data-learn-more'] = FrmAppHelper::get_doc_url(
$field_type['learn-more'],
'form-builder-add-fields',
false !== strpos( $field_type['learn-more'], '/' )
);
}

if ( isset( $upgrading['url'] ) ) {
$li_params['data-message'] = sprintf(
// translators: %s: Field name
esc_html__( 'You already have access to %s fields, you\'ll just need to activate to start using them.', 'formidable' ),
$field_name
);
} elseif ( $upgrade_message ) {
$li_params['data-message'] = $upgrade_message;
}
?>
Expand Down
Loading