Plugin Directory

Changeset 3386074


Ignore:
Timestamp:
10/28/2025 07:32:47 PM (5 months ago)
Author:
apos37
Message:

1.1.2

  • Update: Added validation option to fields in the form editor
Location:
gf-tools
Files:
71 added
6 edited

Legend:

Unmodified
Added
Removed
  • gf-tools/trunk/gf-tools.php

    r3328469 r3386074  
    44 * Plugin URI:          https://pluginrx.com/plugin/gf-tools/
    55 * Description:         Unlock advanced tools to supercharge your Gravity Forms experience with enhanced features and streamlined management.
    6  * Version:             1.1.1
     6 * Version:             1.1.2
    77 * Requires at least:   5.9
    88 * Tested up to:        6.8
  • gf-tools/trunk/includes/class-dashboard.php

    r3328469 r3386074  
    13011301                    <label for="gfat-<?php echo esc_attr( $current_tab ); ?>-action"><?php echo esc_html__( 'Action', 'gf-tools' ); ?>:</label>
    13021302                    <select name="update[action]" id="gfat-<?php echo esc_attr( $current_tab ); ?>-action">
     1303                        <option value="deny"><?php echo esc_html__( 'Deny', 'gf-tools' ); ?></option>   
    13031304                        <option value="allow"><?php echo esc_html__( 'Allow', 'gf-tools' ); ?></option>
    1304                         <option value="deny"><?php echo esc_html__( 'Deny', 'gf-tools' ); ?></option>
    13051305                    </select>
    13061306                </div>
  • gf-tools/trunk/includes/class-form-editor.php

    r3208804 r3386074  
    378378                'label'         => __( 'User Meta Key', 'gf-tools' ),
    379379                'tooltip'       => __( '<strong>User Meta Key</strong>If the user submitting the form is logged in, the value will be updated on the user\'s meta.', 'gf-tools' ),
     380            ],
     381            [
     382                'section'       => 'advanced_settings',
     383                'position'      => -1,
     384                'type'          => 'text',
     385                'fields'        => [],
     386                'id'            => 'validate',
     387                'label'         => __( 'Validate', 'gf-tools' ),
     388                'tooltip'       => __( '<strong>Validate</strong>Put the answer(s) here to validate user input. You may use merge tags. If there are multiple possibilities, separate them with a comma.', 'gf-tools' ),
     389            ],
     390            [
     391                'section'       => 'advanced_settings',
     392                'position'      => -1,
     393                'type'          => 'text',
     394                'fields'        => [],
     395                'id'            => 'validate_message',
     396                'label'         => __( 'Validation Message', 'gf-tools' ),
     397                'tooltip'       => __( '<strong>Validation Message</strong>Put the message here to display when user input is invalid. If left blank, the validation will not be checked.', 'gf-tools' ),
    380398            ],
    381399            // TODO: In a future version
  • gf-tools/trunk/includes/class-gf-tools.php

    r3328469 r3386074  
    6868            'confirmations'   => 'Confirmations',
    6969            'notifications'   => 'Notifications',
     70            'validations'     => 'Validations',
    7071            'developers'      => 'Developers',
    7172            'mark-resolved'   => 'Mark_Resolved',
  • gf-tools/trunk/includes/class-login.php

    r3328469 r3386074  
    133133     */
    134134    public function add_links_below_button( $button, $form ) {
     135        if ( is_user_logged_in() ) {
     136            return $button;
     137        }
     138
    135139        $reset_url = wp_lostpassword_url();
    136140        $links     = sprintf(
  • gf-tools/trunk/readme.txt

    r3328469 r3386074  
    55Requires PHP: 7.4
    66Tested up to: 6.8
    7 Stable tag: 1.1.1
     7Stable tag: 1.1.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    104104
    105105== Changelog ==
     106= 1.1.2 =
     107* Update: Added validation option to fields in the form editor
     108
    106109= 1.1.1 =
    107110* Update: Added new Common Forms section to settings for mapping with additional functionality
Note: See TracChangeset for help on using the changeset viewer.