Plugin Directory

Changeset 2813341


Ignore:
Timestamp:
11/07/2022 09:33:45 AM (3 years ago)
Author:
happyforms
Message:

Committing 1.20.1 to trunk

Location:
happyforms/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • happyforms/trunk/happyforms.php

    r2810826 r2813341  
    66 * Description: Form builder to get in touch with visitors, grow your email list and collect payments.
    77 * Author:      Happyforms
    8  * Version:     1.20.0
     8 * Version:     1.20.1
    99 * Author URI:  https://happyforms.io
    1010 * Upgrade URI: https://happyforms.io/upgrade
     
    2323 * The current version of the plugin.
    2424 */
    25 define( 'HAPPYFORMS_VERSION', '1.20.0' );
     25define( 'HAPPYFORMS_VERSION', '1.20.1' );
    2626
    2727if ( ! function_exists( 'happyforms_get_version' ) ):
  • happyforms/trunk/inc/classes/class-happyforms.php

    r2810826 r2813341  
    9393
    9494    public function add_dummy_setup_controls( $controls ) {
    95         $controls[11] = array(
    96             'type' => 'upsell',
    97             'label' => __( 'Upgrade', 'happyforms' ),
    98             'field' => '',
    99             'id' => 'happyforms-redirect-upsell',
    100         );
    101 
    102         $controls[1449] = array(
    103             'type' => 'text_dummy',
    104             'dummy_id' => 'redirect_url',
    105             'label' => __( 'Redirect to this page address (URL) after submission', 'happyforms' ),
    106             'placeholder' => __( 'Search or type URL', 'happyforms' ),
    107         );
    108 
    109         $controls[1450] = array(
    110             'type' => 'checkbox_dummy',
    111             'dummy_id' => 'shuffle_parts',
    112             'label' => __( 'Shuffle order of fields', 'happyforms' ),
    113         );
    114 
    115         $controls[1500] = array(
    116             'type' => 'checkbox_dummy',
    117             'dummy_id' => 'captcha',
    118             'label' => __( 'Use reCAPTCHA', 'happyforms' ),
    119         );
    120 
    121         $controls[1655] = array(
    122             'type' => 'number_dummy',
    123             'dummy_id' => 'abandoned_resume_response_expire',
    124             'label' => __( 'Let submitters save a draft for set number of days', 'happyforms' ),
    125         );
    126 
    127         $controls[1800] = array(
    128             'type' => 'checkbox_dummy',
    129             'dummy_id' => 'preview_before_submit',
    130             'label' => __( 'Require submitters to review a submission', 'happyforms' ),
    131         );
    132 
    133         $controls[2301] = array(
    134             'type' => 'number_dummy',
    135             'dummy_id' => 'restrict_entries',
    136             'label' => __( 'Max number of submissions', 'happyforms' ),
    137         );
    138 
    139         $controls[3190] = array(
    140             'type' => 'number_dummy',
    141             'dummy_id' => 'delete_submission_days',
    142             'label' => __( "Erase submitter's personal data after set number of days", 'happyforms' ),
    143         );
    144 
    145         $controls[3200] = array(
    146             'type' => 'checkbox_dummy',
    147             'dummy_id' => 'block_emails',
    148             'label' => __( 'Show an error message if field contains words in Disallowed Comment Keys', 'happyforms' ),
    149         );
     95        $setup_controls = array(
     96            11 => array(
     97                'type' => 'upsell',
     98                'label' => __( 'Upgrade', 'happyforms' ),
     99                'field' => '',
     100                'id' => 'happyforms-redirect-upsell',
     101            ),
     102
     103            1449 => array(
     104                'type' => 'text_dummy',
     105                'dummy_id' => 'redirect_url',
     106                'label' => __( 'Redirect to this page address (URL) after submission', 'happyforms' ),
     107                'placeholder' => __( 'Search or type URL', 'happyforms' ),
     108            ),
     109
     110            1450 => array(
     111                'type' => 'checkbox_dummy',
     112                'dummy_id' => 'shuffle_parts',
     113                'label' => __( 'Shuffle order of fields', 'happyforms' ),
     114            ),
     115
     116            1500 => array(
     117                'type' => 'checkbox_dummy',
     118                'dummy_id' => 'captcha',
     119                'label' => __( 'Use reCAPTCHA', 'happyforms' ),
     120            ),
     121
     122            1655 => array(
     123                'type' => 'number_dummy',
     124                'dummy_id' => 'abandoned_resume_response_expire',
     125                'label' => __( 'Let submitters save a draft for set number of days', 'happyforms' ),
     126            ),
     127
     128            1800 => array(
     129                'type' => 'checkbox_dummy',
     130                'dummy_id' => 'preview_before_submit',
     131                'label' => __( 'Require submitters to review a submission', 'happyforms' ),
     132            ),
     133
     134            2301 => array(
     135                'type' => 'number_dummy',
     136                'dummy_id' => 'restrict_entries',
     137                'label' => __( 'Max number of submissions', 'happyforms' ),
     138            ),
     139
     140            3190 => array(
     141                'type' => 'number_dummy',
     142                'dummy_id' => 'delete_submission_days',
     143                'label' => __( "Erase submitter's personal data after set number of days", 'happyforms' ),
     144            ),
     145
     146            3200 => array(
     147                'type' => 'checkbox_dummy',
     148                'dummy_id' => 'block_emails',
     149                'label' => __( 'Show an error message if field contains words in Disallowed Comment Keys', 'happyforms' ),
     150            ),
     151        );
     152
     153        $controls = happyforms_safe_array_merge( $controls, $setup_controls );
    150154
    151155        return $controls;
     
    153157
    154158    public function add_dummy_email_controls( $controls ) {
    155         $controls[630] = array(
    156             'type' => 'email-parts-list_dummy',
    157             'dummy_id' => 'confirmation_email_respondent_address',
    158             'label' => __( 'To email address', 'happyforms' ),
    159         );
    160 
    161         $controls[1660] = array(
    162             'type' => 'checkbox_dummy',
    163             'dummy_id' => 'abandoned_resume_send_alert_email',
    164             'label' => __( 'Send abandonment email', 'happyforms' ),
    165         );
     159        $email_controls = array(
     160            630 => array(
     161                'type' => 'email-parts-list_dummy',
     162                'dummy_id' => 'confirmation_email_respondent_address',
     163                'label' => __( 'To email address', 'happyforms' ),
     164            ),
     165
     166            1660 => array(
     167                'type' => 'checkbox_dummy',
     168                'dummy_id' => 'abandoned_resume_send_alert_email',
     169                'label' => __( 'Send abandonment email', 'happyforms' ),
     170            ),
     171        );
     172
     173        $controls = happyforms_safe_array_merge( $controls, $email_controls );
    166174
    167175        return $controls;
     
    169177
    170178    public function add_dummy_style_controls( $controls ) {
    171         $controls[5791] = array(
    172             'type' => 'panel_dummy',
    173             'dummy_id' => 'checkboxes_radios',
    174             'label' => __( 'Checkboxes & Radios', 'happyforms' ),
    175         );
    176 
    177         $controls[5792] = array(
    178             'type' => 'panel_dummy',
    179             'dummy_id' => 'rating',
    180             'label' => __( 'Rating', 'happyforms' ),
    181         );
    182 
    183         $controls[5793] = array(
    184             'type' => 'panel_dummy',
    185             'dummy_id' => 'separators',
    186             'label' => __( 'Separators', 'happyforms' ),
    187         );
    188 
    189         $controls[8560] = array(
    190             'type' => 'panel_dummy',
    191             'dummy_id' => 'multistep',
    192             'label' => __( 'Multi Step', 'happyforms' ),
    193         );
     179        $style_controls = array(
     180            5791 => array(
     181                'type' => 'panel_dummy',
     182                'dummy_id' => 'checkboxes_radios',
     183                'label' => __( 'Checkboxes & Radios', 'happyforms' ),
     184            ),
     185
     186            5792 => array(
     187                'type' => 'panel_dummy',
     188                'dummy_id' => 'rating',
     189                'label' => __( 'Rating', 'happyforms' ),
     190            ),
     191
     192            5793 => array(
     193                'type' => 'panel_dummy',
     194                'dummy_id' => 'separators',
     195                'label' => __( 'Separators', 'happyforms' ),
     196            ),
     197
     198            8560 => array(
     199                'type' => 'panel_dummy',
     200                'dummy_id' => 'multistep',
     201                'label' => __( 'Multi Step', 'happyforms' ),
     202            ),
     203        );
     204
     205        $controls = happyforms_safe_array_merge( $controls, $style_controls );
    194206
    195207        return $controls;
     
    197209
    198210    public function add_dummy_messages_controls( $controls ) {
    199         $controls[42] = array(
    200             'type' => 'text_dummy_reset',
    201             'dummy_id' => 'form_redirect_submission',
    202             'label' => __( 'Form redirected after submission', 'happyforms' ),
    203         );
    204 
    205         $controls[43] = array(
    206             'type' => 'text_dummy_reset',
    207             'dummy_id' => 'form_reached_reply_limit',
    208             'label' => __( 'Form has reached its reply limit', 'happyforms' ),
    209         );
    210 
    211         $controls[44] = array(
    212             'type' => 'text_dummy_reset',
    213             'dummy_id' => 'submitter_returned_draft',
    214             'label' => __( 'Submitter has returned to a draft', 'happyforms' ),
    215         );
    216 
    217         $controls[45] = array(
    218             'type' => 'text_dummy_reset',
    219             'dummy_id' => 'submitter_review_page',
    220             'label' => __( 'Submitter is viewing review page', 'happyforms' ),
    221         );
    222 
    223         $controls[46] = array(
    224             'type' => 'text_dummy_reset',
    225             'dummy_id' => 'payment_completed',
    226             'label' => __( 'Payment completed', 'happyforms' ),
    227         );
    228 
    229         $controls[47] = array(
    230             'type' => 'text_dummy_reset',
    231             'dummy_id' => 'payment_failed',
    232             'label' => __( 'Payment failed', 'happyforms' ),
    233         );
    234 
    235         $controls[48] = array(
    236             'type' => 'text_dummy_reset',
    237             'dummy_id' => 'payment_cancelled',
    238             'label' => __( 'Payment cancelled', 'happyforms' ),
    239         );
    240 
    241         $controls[2020] = array(
    242             'type' => 'text_dummy_reset',
    243             'dummy_id' => 'previous_page',
    244             'label' => __( 'Previous page', 'happyforms' ),
    245         );
    246 
    247         $controls[2030] = array(
    248             'type' => 'text_dummy_reset',
    249             'dummy_id' => 'redirect_page',
    250             'label' => __( 'Redirect to page', 'happyforms' ),
    251         );
    252 
    253         $controls[2031] = array(
    254             'type' => 'text_dummy_reset',
    255             'dummy_id' => 'print_submission',
    256             'label' => __( 'Print user submission', 'happyforms' ),
    257         );
    258 
    259         $controls[2041] = array(
    260             'type' => 'text_dummy_reset',
    261             'dummy_id' => 'edit_reply',
    262             'label' => __( 'Edit reply', 'happyforms' ),
    263         );
    264 
    265         $controls[2061] = array(
    266             'type' => 'text_dummy_reset',
    267             'dummy_id' => 'clear_saved_reply',
    268             'label' => __( 'Clear saved draft reply', 'happyforms' ),
    269         );
    270 
    271         $controls[2081] = array(
    272             'type' => 'text_dummy_reset',
    273             'dummy_id' => 'save_draft_reply',
    274             'label' => __( 'Save draft reply', 'happyforms' ),
    275         );
    276 
    277         $controls[2141] = array(
    278             'type' => 'text_dummy_reset',
    279             'dummy_id' => 'upload_files',
    280             'label' => __( 'Upload files', 'happyforms' ),
    281         );
    282 
    283         $controls[2161] = array(
    284             'type' => 'text_dummy_reset',
    285             'dummy_id' => 'remove_uploaded_file',
    286             'label' => __( 'Remove uploaded file', 'happyforms' ),
    287         );
    288 
    289         $controls[2201] = array(
    290             'type' => 'text_dummy_reset',
    291             'dummy_id' => 'review_reply',
    292             'label' => __( 'Review reply', 'happyforms' ),
    293         );
    294 
    295         $controls[2260] = array(
    296             'type' => 'text_dummy_reset',
    297             'dummy_id' => 'start_drawing_signature',
    298             'label' => __( 'Start drawing signature', 'happyforms' ),
    299         );
    300 
    301         $controls[2261] = array(
    302             'type' => 'text_dummy_reset',
    303             'dummy_id' => 'start_over_signature',
    304             'label' => __( 'Start over drawing signature', 'happyforms' ),
    305         );
    306 
    307         $controls[2263] = array(
    308             'type' => 'text_dummy_reset',
    309             'dummy_id' => 'clear_drawn_signature',
    310             'label' => __( 'Clear drawn signature', 'happyforms' ),
    311         );
    312 
    313         $controls[2264] = array(
    314             'type' => 'text_dummy_reset',
    315             'dummy_id' => 'done_drawing_signature',
    316             'label' => __( 'Done drawing signature', 'happyforms' ),
    317         );
    318 
    319         $controls[4052] = array(
    320             'type' => 'text_dummy_reset',
    321             'dummy_id' => 'field_answer_limit',
    322             'label' => __( 'Field answer reached its limit', 'happyforms' ),
    323         );
    324 
    325         $controls[4053] = array(
    326             'type' => 'text_dummy_reset',
    327             'dummy_id' => 'coupon_invalid',
    328             'label' => __( 'Coupon code invalid', 'happyforms' ),
    329         );
    330 
    331         $controls[4061] = array(
    332             'type' => 'text_dummy_reset',
    333             'dummy_id' => 'required_file_not_uploaded',
    334             'label' => __( 'Required file isn\'t uploaded', 'happyforms' ),
    335         );
    336 
    337         $controls[4106] = array(
    338             'type' => 'text_dummy_reset',
    339             'dummy_id' => 'required_not_scrolled',
    340             'label' => __( 'Required terms haven\'t been scrolled', 'happyforms' ),
    341         );
    342 
    343         $controls[4121] = array(
    344             'type' => 'text_dummy_reset',
    345             'dummy_id' => 'field_disallowed_word',
    346             'label' => __( 'Field contains disallowed word', 'happyforms' ),
    347         );
    348 
    349         $controls[4122] = array(
    350             'type' => 'text_dummy_reset',
    351             'dummy_id' => 'disallowed_ip',
    352             'label' => __( 'Disallowed IP address or browser', 'happyforms' ),
    353         );
    354 
    355         $controls[4123] = array(
    356             'type' => 'text_dummy_reset',
    357             'dummy_id' => 'file_too_big',
    358             'label' => __( 'This file\'s size is too big', 'happyforms' ),
    359         );
    360 
    361         $controls[4124] = array(
    362             'type' => 'text_dummy_reset',
    363             'dummy_id' => 'file_not_allowed',
    364             'label' => __( 'This file\'s type not allowed', 'happyforms' ),
    365         );
    366 
    367         $controls[4125] = array(
    368             'type' => 'text_dummy_reset',
    369             'dummy_id' => 'file_name_exists',
    370             'label' => __( 'A file with this name has already been uploaded', 'happyforms' ),
    371         );
    372 
    373         $controls[4126] = array(
    374             'type' => 'text_dummy_reset',
    375             'dummy_id' => 'uploaded_few_files',
    376             'label' => __( 'User uploaded too few files', 'happyforms' ),
    377         );
    378         $controls[4341] = array(
    379             'type' => 'text_dummy_reset',
    380             'dummy_id' => 'price_too_low',
    381             'label' => __( 'Price is too low', 'happyforms' ),
    382         );
    383 
    384         $controls[6121] = array(
    385             'type' => 'text_dummy_reset',
    386             'dummy_id' => 'total_files_uploaded',
    387             'label' => __( 'Total files uploaded', 'happyforms' ),
    388         );
    389 
    390         $controls[6136] = array(
    391             'type' => 'text_dummy_reset',
    392             'dummy_id' => 'payment_method',
    393             'label' => __( 'Payment method', 'happyforms' ),
    394         );
    395 
    396         $controls[6137] = array(
    397             'type' => 'text_dummy_reset',
    398             'dummy_id' => 'pay_what_you_want',
    399             'label' => __( 'Pay what you want', 'happyforms' ),
    400         );
    401 
    402         $controls[6141] = array(
    403             'type' => 'text_dummy_reset',
    404             'dummy_id' => 'submitter_redirected_paypal',
    405             'label' => __( 'Submitter will be redirected to PayPal', 'happyforms' ),
    406         );
    407 
    408         $controls[6171] = array(
    409             'type' => 'text_dummy_reset',
    410             'dummy_id' => 'stripe_processing_payment',
    411             'label' => __( 'Stripe is processing payment', 'happyforms' ),
    412         );
    413 
    414         $controls[6172] = array(
    415             'type' => 'text_dummy_reset',
    416             'dummy_id' => 'stripe_payment',
    417             'label' => __( 'Stripe payment', 'happyforms' ),
    418         );
    419 
    420         $controls[6173] = array(
    421             'type' => 'text_dummy_reset',
    422             'dummy_id' => 'card_number',
    423             'label' => __( 'Card number', 'happyforms' ),
    424         );
    425 
    426         $controls[6174] = array(
    427             'type' => 'text_dummy_reset',
    428             'dummy_id' => 'card_expiration',
    429             'label' => __( 'Card expiration', 'happyforms' ),
    430         );
    431 
    432         $controls[6175] = array(
    433             'type' => 'text_dummy_reset',
    434             'dummy_id' => 'card_expiration_hint',
    435             'label' => __( 'Card expiration hint', 'happyforms' ),
    436         );
    437 
    438         $controls[6176] = array(
    439             'type' => 'text_dummy_reset',
    440             'dummy_id' => 'card_security_code',
    441             'label' => __( 'Card security code', 'happyforms' ),
    442         );
    443 
    444         $controls[6177] = array(
    445             'type' => 'text_dummy_reset',
    446             'dummy_id' => 'card_security_code_hint',
    447             'label' => __( 'Card security code hint', 'happyforms' ),
    448         );
    449 
    450         $controls[6178] = array(
    451             'type' => 'text_dummy_reset',
    452             'dummy_id' => 'coupon_field_label',
    453             'label' => __( 'Coupon field label', 'happyforms' ),
    454         );
    455 
    456         $controls[6179] = array(
    457             'type' => 'text_dummy_reset',
    458             'dummy_id' => 'apply_coupon_label',
    459             'label' => __( 'Apply coupon button label', 'happyforms' ),
    460         );
    461 
    462         $controls[6241] = array(
    463             'type' => 'text_dummy_reset',
    464             'dummy_id' => 'current_page',
    465             'label' => __( 'Current page', 'happyforms' ),
    466         );
     211        $messages_controls = array(
     212            42 => array(
     213                'type' => 'text_dummy_reset',
     214                'dummy_id' => 'form_redirect_submission',
     215                'label' => __( 'Form redirected after submission', 'happyforms' ),
     216            ),
     217
     218            43 => array(
     219                'type' => 'text_dummy_reset',
     220                'dummy_id' => 'form_reached_reply_limit',
     221                'label' => __( 'Form has reached its reply limit', 'happyforms' ),
     222            ),
     223
     224            44 => array(
     225                'type' => 'text_dummy_reset',
     226                'dummy_id' => 'submitter_returned_draft',
     227                'label' => __( 'Submitter has returned to a draft', 'happyforms' ),
     228            ),
     229
     230            45 => array(
     231                'type' => 'text_dummy_reset',
     232                'dummy_id' => 'submitter_review_page',
     233                'label' => __( 'Submitter is viewing review page', 'happyforms' ),
     234            ),
     235
     236            46 => array(
     237                'type' => 'text_dummy_reset',
     238                'dummy_id' => 'payment_completed',
     239                'label' => __( 'Payment completed', 'happyforms' ),
     240            ),
     241
     242            47 => array(
     243                'type' => 'text_dummy_reset',
     244                'dummy_id' => 'payment_failed',
     245                'label' => __( 'Payment failed', 'happyforms' ),
     246            ),
     247
     248            48 => array(
     249                'type' => 'text_dummy_reset',
     250                'dummy_id' => 'payment_cancelled',
     251                'label' => __( 'Payment cancelled', 'happyforms' ),
     252            ),
     253
     254            2019 => array(
     255                'type' => 'text_dummy_reset',
     256                'dummy_id' => 'previous_page',
     257                'label' => __( 'Previous page', 'happyforms' ),
     258            ),
     259
     260            2030 => array(
     261                'type' => 'text_dummy_reset',
     262                'dummy_id' => 'redirect_page',
     263                'label' => __( 'Redirect to page', 'happyforms' ),
     264            ),
     265
     266            2031 => array(
     267                'type' => 'text_dummy_reset',
     268                'dummy_id' => 'print_submission',
     269                'label' => __( 'Print user submission', 'happyforms' ),
     270            ),
     271
     272            2041 => array(
     273                'type' => 'text_dummy_reset',
     274                'dummy_id' => 'edit_reply',
     275                'label' => __( 'Edit reply', 'happyforms' ),
     276            ),
     277
     278            2061 => array(
     279                'type' => 'text_dummy_reset',
     280                'dummy_id' => 'clear_saved_reply',
     281                'label' => __( 'Clear saved draft reply', 'happyforms' ),
     282            ),
     283
     284            2081 => array(
     285                'type' => 'text_dummy_reset',
     286                'dummy_id' => 'save_draft_reply',
     287                'label' => __( 'Save draft reply', 'happyforms' ),
     288            ),
     289
     290            2141 => array(
     291                'type' => 'text_dummy_reset',
     292                'dummy_id' => 'upload_files',
     293                'label' => __( 'Upload files', 'happyforms' ),
     294            ),
     295
     296            2161 => array(
     297                'type' => 'text_dummy_reset',
     298                'dummy_id' => 'remove_uploaded_file',
     299                'label' => __( 'Remove uploaded file', 'happyforms' ),
     300            ),
     301
     302            2201 => array(
     303                'type' => 'text_dummy_reset',
     304                'dummy_id' => 'review_reply',
     305                'label' => __( 'Review reply', 'happyforms' ),
     306            ),
     307
     308            2260 => array(
     309                'type' => 'text_dummy_reset',
     310                'dummy_id' => 'start_drawing_signature',
     311                'label' => __( 'Start drawing signature', 'happyforms' ),
     312            ),
     313
     314            2261 => array(
     315                'type' => 'text_dummy_reset',
     316                'dummy_id' => 'start_over_signature',
     317                'label' => __( 'Start over drawing signature', 'happyforms' ),
     318            ),
     319
     320            2263 => array(
     321                'type' => 'text_dummy_reset',
     322                'dummy_id' => 'clear_drawn_signature',
     323                'label' => __( 'Clear drawn signature', 'happyforms' ),
     324            ),
     325
     326            2264 => array(
     327                'type' => 'text_dummy_reset',
     328                'dummy_id' => 'done_drawing_signature',
     329                'label' => __( 'Done drawing signature', 'happyforms' ),
     330            ),
     331
     332            4052 => array(
     333                'type' => 'text_dummy_reset',
     334                'dummy_id' => 'field_answer_limit',
     335                'label' => __( 'Field answer reached its limit', 'happyforms' ),
     336            ),
     337
     338            4053 => array(
     339                'type' => 'text_dummy_reset',
     340                'dummy_id' => 'coupon_invalid',
     341                'label' => __( 'Coupon code invalid', 'happyforms' ),
     342            ),
     343
     344            4061 => array(
     345                'type' => 'text_dummy_reset',
     346                'dummy_id' => 'required_file_not_uploaded',
     347                'label' => __( 'Required file isn\'t uploaded', 'happyforms' ),
     348            ),
     349
     350            4106 => array(
     351                'type' => 'text_dummy_reset',
     352                'dummy_id' => 'required_not_scrolled',
     353                'label' => __( 'Required terms haven\'t been scrolled', 'happyforms' ),
     354            ),
     355
     356            4121 => array(
     357                'type' => 'text_dummy_reset',
     358                'dummy_id' => 'field_disallowed_word',
     359                'label' => __( 'Field contains disallowed word', 'happyforms' ),
     360            ),
     361
     362            4122 => array(
     363                'type' => 'text_dummy_reset',
     364                'dummy_id' => 'disallowed_ip',
     365                'label' => __( 'Disallowed IP address or browser', 'happyforms' ),
     366            ),
     367
     368            4123 => array(
     369                'type' => 'text_dummy_reset',
     370                'dummy_id' => 'file_too_big',
     371                'label' => __( 'This file\'s size is too big', 'happyforms' ),
     372            ),
     373
     374            4124 => array(
     375                'type' => 'text_dummy_reset',
     376                'dummy_id' => 'file_not_allowed',
     377                'label' => __( 'This file\'s type not allowed', 'happyforms' ),
     378            ),
     379
     380            4125 => array(
     381                'type' => 'text_dummy_reset',
     382                'dummy_id' => 'file_name_exists',
     383                'label' => __( 'A file with this name has already been uploaded', 'happyforms' ),
     384            ),
     385
     386            4126 => array(
     387                'type' => 'text_dummy_reset',
     388                'dummy_id' => 'uploaded_few_files',
     389                'label' => __( 'User uploaded too few files', 'happyforms' ),
     390            ),
     391            4341 => array(
     392                'type' => 'text_dummy_reset',
     393                'dummy_id' => 'price_too_low',
     394                'label' => __( 'Price is too low', 'happyforms' ),
     395            ),
     396
     397            6121 => array(
     398                'type' => 'text_dummy_reset',
     399                'dummy_id' => 'total_files_uploaded',
     400                'label' => __( 'Total files uploaded', 'happyforms' ),
     401            ),
     402
     403            6136 => array(
     404                'type' => 'text_dummy_reset',
     405                'dummy_id' => 'payment_method',
     406                'label' => __( 'Payment method', 'happyforms' ),
     407            ),
     408
     409            6137 => array(
     410                'type' => 'text_dummy_reset',
     411                'dummy_id' => 'pay_what_you_want',
     412                'label' => __( 'Pay what you want', 'happyforms' ),
     413            ),
     414
     415            6141 => array(
     416                'type' => 'text_dummy_reset',
     417                'dummy_id' => 'submitter_redirected_paypal',
     418                'label' => __( 'Submitter will be redirected to PayPal', 'happyforms' ),
     419            ),
     420
     421            6171 => array(
     422                'type' => 'text_dummy_reset',
     423                'dummy_id' => 'stripe_processing_payment',
     424                'label' => __( 'Stripe is processing payment', 'happyforms' ),
     425            ),
     426
     427            6172 => array(
     428                'type' => 'text_dummy_reset',
     429                'dummy_id' => 'stripe_payment',
     430                'label' => __( 'Stripe payment', 'happyforms' ),
     431            ),
     432
     433            6173 => array(
     434                'type' => 'text_dummy_reset',
     435                'dummy_id' => 'card_number',
     436                'label' => __( 'Card number', 'happyforms' ),
     437            ),
     438
     439            6174 => array(
     440                'type' => 'text_dummy_reset',
     441                'dummy_id' => 'card_expiration',
     442                'label' => __( 'Card expiration', 'happyforms' ),
     443            ),
     444
     445            6175 => array(
     446                'type' => 'text_dummy_reset',
     447                'dummy_id' => 'card_expiration_hint',
     448                'label' => __( 'Card expiration hint', 'happyforms' ),
     449            ),
     450
     451            6176 => array(
     452                'type' => 'text_dummy_reset',
     453                'dummy_id' => 'card_security_code',
     454                'label' => __( 'Card security code', 'happyforms' ),
     455            ),
     456
     457            6177 => array(
     458                'type' => 'text_dummy_reset',
     459                'dummy_id' => 'card_security_code_hint',
     460                'label' => __( 'Card security code hint', 'happyforms' ),
     461            ),
     462
     463            6178 => array(
     464                'type' => 'text_dummy_reset',
     465                'dummy_id' => 'coupon_field_label',
     466                'label' => __( 'Coupon field label', 'happyforms' ),
     467            ),
     468
     469            6179 => array(
     470                'type' => 'text_dummy_reset',
     471                'dummy_id' => 'apply_coupon_label',
     472                'label' => __( 'Apply coupon button label', 'happyforms' ),
     473            ),
     474
     475            6241 => array(
     476                'type' => 'text_dummy_reset',
     477                'dummy_id' => 'current_page',
     478                'label' => __( 'Current page', 'happyforms' ),
     479            ),
     480        );
     481
     482        $controls = happyforms_safe_array_merge( $controls, $messages_controls );
    467483
    468484        return $controls;
  • happyforms/trunk/languages/happyforms.pot

    r2810826 r2813341  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Happyforms (free) 1.20.0\n"
     5"Project-Id-Version: Happyforms (free) 1.20.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/happyforms/\n"
    77"Last-Translator: The Theme Foundry\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2022-11-03T08:23:29+00:00\n"
     12"POT-Creation-Date: 2022-11-07T09:32:23+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.4.0\n"
     
    170170
    171171#: core/classes/class-form-email.php:126
    172 #: inc/classes/class-happyforms.php:158
     172#: inc/classes/class-happyforms.php:163
    173173msgid "To email address"
    174174msgstr ""
     
    29212921msgstr ""
    29222922
    2923 #: inc/classes/class-happyforms.php:97
     2923#: inc/classes/class-happyforms.php:98
    29242924msgid "Upgrade"
    29252925msgstr ""
    29262926
    2927 #: inc/classes/class-happyforms.php:105
     2927#: inc/classes/class-happyforms.php:106
    29282928msgid "Redirect to this page address (URL) after submission"
    29292929msgstr ""
    29302930
    2931 #: inc/classes/class-happyforms.php:106
     2931#: inc/classes/class-happyforms.php:107
    29322932msgid "Search or type URL"
    29332933msgstr ""
    29342934
    2935 #: inc/classes/class-happyforms.php:112
     2935#: inc/classes/class-happyforms.php:113
    29362936msgid "Shuffle order of fields"
    29372937msgstr ""
    29382938
    2939 #: inc/classes/class-happyforms.php:118
     2939#: inc/classes/class-happyforms.php:119
    29402940msgid "Use reCAPTCHA"
    29412941msgstr ""
    29422942
    2943 #: inc/classes/class-happyforms.php:124
     2943#: inc/classes/class-happyforms.php:125
    29442944msgid "Let submitters save a draft for set number of days"
    29452945msgstr ""
    29462946
    2947 #: inc/classes/class-happyforms.php:130
     2947#: inc/classes/class-happyforms.php:131
    29482948msgid "Require submitters to review a submission"
    29492949msgstr ""
    29502950
    2951 #: inc/classes/class-happyforms.php:136
     2951#: inc/classes/class-happyforms.php:137
    29522952msgid "Max number of submissions"
    29532953msgstr ""
    29542954
    2955 #: inc/classes/class-happyforms.php:142
     2955#: inc/classes/class-happyforms.php:143
    29562956msgid "Erase submitter's personal data after set number of days"
    29572957msgstr ""
    29582958
    2959 #: inc/classes/class-happyforms.php:148
     2959#: inc/classes/class-happyforms.php:149
    29602960msgid "Show an error message if field contains words in Disallowed Comment Keys"
    29612961msgstr ""
    29622962
    2963 #: inc/classes/class-happyforms.php:164
     2963#: inc/classes/class-happyforms.php:169
    29642964msgid "Send abandonment email"
    29652965msgstr ""
    29662966
    2967 #: inc/classes/class-happyforms.php:174
     2967#: inc/classes/class-happyforms.php:183
    29682968msgid "Checkboxes & Radios"
    29692969msgstr ""
    29702970
    2971 #: inc/classes/class-happyforms.php:180
     2971#: inc/classes/class-happyforms.php:189
    29722972msgid "Rating"
    29732973msgstr ""
    29742974
    2975 #: inc/classes/class-happyforms.php:186
     2975#: inc/classes/class-happyforms.php:195
    29762976msgid "Separators"
    29772977msgstr ""
    29782978
    2979 #: inc/classes/class-happyforms.php:192
     2979#: inc/classes/class-happyforms.php:201
    29802980msgid "Multi Step"
    29812981msgstr ""
    29822982
    2983 #: inc/classes/class-happyforms.php:202
     2983#: inc/classes/class-happyforms.php:215
    29842984msgid "Form redirected after submission"
    29852985msgstr ""
    29862986
    2987 #: inc/classes/class-happyforms.php:208
     2987#: inc/classes/class-happyforms.php:221
    29882988msgid "Form has reached its reply limit"
    29892989msgstr ""
    29902990
    2991 #: inc/classes/class-happyforms.php:214
     2991#: inc/classes/class-happyforms.php:227
    29922992msgid "Submitter has returned to a draft"
    29932993msgstr ""
    29942994
    2995 #: inc/classes/class-happyforms.php:220
     2995#: inc/classes/class-happyforms.php:233
    29962996msgid "Submitter is viewing review page"
    29972997msgstr ""
    29982998
    2999 #: inc/classes/class-happyforms.php:226
     2999#: inc/classes/class-happyforms.php:239
    30003000msgid "Payment completed"
    30013001msgstr ""
    30023002
    3003 #: inc/classes/class-happyforms.php:232
     3003#: inc/classes/class-happyforms.php:245
    30043004msgid "Payment failed"
    30053005msgstr ""
    30063006
    3007 #: inc/classes/class-happyforms.php:238
     3007#: inc/classes/class-happyforms.php:251
    30083008msgid "Payment cancelled"
    30093009msgstr ""
    30103010
    3011 #: inc/classes/class-happyforms.php:244
     3011#: inc/classes/class-happyforms.php:257
    30123012msgid "Previous page"
    30133013msgstr ""
    30143014
    3015 #: inc/classes/class-happyforms.php:250
     3015#: inc/classes/class-happyforms.php:263
    30163016msgid "Redirect to page"
    30173017msgstr ""
    30183018
    3019 #: inc/classes/class-happyforms.php:256
     3019#: inc/classes/class-happyforms.php:269
    30203020msgid "Print user submission"
    30213021msgstr ""
    30223022
    3023 #: inc/classes/class-happyforms.php:262
     3023#: inc/classes/class-happyforms.php:275
    30243024msgid "Edit reply"
    30253025msgstr ""
    30263026
    3027 #: inc/classes/class-happyforms.php:268
     3027#: inc/classes/class-happyforms.php:281
    30283028msgid "Clear saved draft reply"
    30293029msgstr ""
    30303030
    3031 #: inc/classes/class-happyforms.php:274
     3031#: inc/classes/class-happyforms.php:287
    30323032msgid "Save draft reply"
    30333033msgstr ""
    30343034
    3035 #: inc/classes/class-happyforms.php:280
     3035#: inc/classes/class-happyforms.php:293
    30363036msgid "Upload files"
    30373037msgstr ""
    30383038
    3039 #: inc/classes/class-happyforms.php:286
     3039#: inc/classes/class-happyforms.php:299
    30403040msgid "Remove uploaded file"
    30413041msgstr ""
    30423042
    3043 #: inc/classes/class-happyforms.php:292
     3043#: inc/classes/class-happyforms.php:305
    30443044msgid "Review reply"
    30453045msgstr ""
    30463046
    3047 #: inc/classes/class-happyforms.php:298
     3047#: inc/classes/class-happyforms.php:311
    30483048msgid "Start drawing signature"
    30493049msgstr ""
    30503050
    3051 #: inc/classes/class-happyforms.php:304
     3051#: inc/classes/class-happyforms.php:317
    30523052msgid "Start over drawing signature"
    30533053msgstr ""
    30543054
    3055 #: inc/classes/class-happyforms.php:310
     3055#: inc/classes/class-happyforms.php:323
    30563056msgid "Clear drawn signature"
    30573057msgstr ""
    30583058
    3059 #: inc/classes/class-happyforms.php:316
     3059#: inc/classes/class-happyforms.php:329
    30603060msgid "Done drawing signature"
    30613061msgstr ""
    30623062
    3063 #: inc/classes/class-happyforms.php:322
     3063#: inc/classes/class-happyforms.php:335
    30643064msgid "Field answer reached its limit"
    30653065msgstr ""
    30663066
    3067 #: inc/classes/class-happyforms.php:328
     3067#: inc/classes/class-happyforms.php:341
    30683068msgid "Coupon code invalid"
    30693069msgstr ""
    30703070
    3071 #: inc/classes/class-happyforms.php:334
     3071#: inc/classes/class-happyforms.php:347
    30723072msgid "Required file isn't uploaded"
    30733073msgstr ""
    30743074
    3075 #: inc/classes/class-happyforms.php:340
     3075#: inc/classes/class-happyforms.php:353
    30763076msgid "Required terms haven't been scrolled"
    30773077msgstr ""
    30783078
    3079 #: inc/classes/class-happyforms.php:346
     3079#: inc/classes/class-happyforms.php:359
    30803080msgid "Field contains disallowed word"
    30813081msgstr ""
    30823082
    3083 #: inc/classes/class-happyforms.php:352
     3083#: inc/classes/class-happyforms.php:365
    30843084msgid "Disallowed IP address or browser"
    30853085msgstr ""
    30863086
    3087 #: inc/classes/class-happyforms.php:358
     3087#: inc/classes/class-happyforms.php:371
    30883088msgid "This file's size is too big"
    30893089msgstr ""
    30903090
    3091 #: inc/classes/class-happyforms.php:364
     3091#: inc/classes/class-happyforms.php:377
    30923092msgid "This file's type not allowed"
    30933093msgstr ""
    30943094
    3095 #: inc/classes/class-happyforms.php:370
     3095#: inc/classes/class-happyforms.php:383
    30963096msgid "A file with this name has already been uploaded"
    30973097msgstr ""
    30983098
    3099 #: inc/classes/class-happyforms.php:376
     3099#: inc/classes/class-happyforms.php:389
    31003100msgid "User uploaded too few files"
    31013101msgstr ""
    31023102
    3103 #: inc/classes/class-happyforms.php:381
     3103#: inc/classes/class-happyforms.php:394
    31043104msgid "Price is too low"
    31053105msgstr ""
    31063106
    3107 #: inc/classes/class-happyforms.php:387
     3107#: inc/classes/class-happyforms.php:400
    31083108msgid "Total files uploaded"
    31093109msgstr ""
    31103110
    3111 #: inc/classes/class-happyforms.php:393
     3111#: inc/classes/class-happyforms.php:406
    31123112msgid "Payment method"
    31133113msgstr ""
    31143114
    3115 #: inc/classes/class-happyforms.php:399
     3115#: inc/classes/class-happyforms.php:412
    31163116msgid "Pay what you want"
    31173117msgstr ""
    31183118
    3119 #: inc/classes/class-happyforms.php:405
     3119#: inc/classes/class-happyforms.php:418
    31203120msgid "Submitter will be redirected to PayPal"
    31213121msgstr ""
    31223122
    3123 #: inc/classes/class-happyforms.php:411
     3123#: inc/classes/class-happyforms.php:424
    31243124msgid "Stripe is processing payment"
    31253125msgstr ""
    31263126
    3127 #: inc/classes/class-happyforms.php:417
     3127#: inc/classes/class-happyforms.php:430
    31283128msgid "Stripe payment"
    31293129msgstr ""
    31303130
    3131 #: inc/classes/class-happyforms.php:423
     3131#: inc/classes/class-happyforms.php:436
    31323132msgid "Card number"
    31333133msgstr ""
    31343134
    3135 #: inc/classes/class-happyforms.php:429
     3135#: inc/classes/class-happyforms.php:442
    31363136msgid "Card expiration"
    31373137msgstr ""
    31383138
    3139 #: inc/classes/class-happyforms.php:435
     3139#: inc/classes/class-happyforms.php:448
    31403140msgid "Card expiration hint"
    31413141msgstr ""
    31423142
    3143 #: inc/classes/class-happyforms.php:441
     3143#: inc/classes/class-happyforms.php:454
    31443144msgid "Card security code"
    31453145msgstr ""
    31463146
    3147 #: inc/classes/class-happyforms.php:447
     3147#: inc/classes/class-happyforms.php:460
    31483148msgid "Card security code hint"
    31493149msgstr ""
    31503150
    3151 #: inc/classes/class-happyforms.php:453
     3151#: inc/classes/class-happyforms.php:466
    31523152msgid "Coupon field label"
    31533153msgstr ""
    31543154
    3155 #: inc/classes/class-happyforms.php:459
     3155#: inc/classes/class-happyforms.php:472
    31563156msgid "Apply coupon button label"
    31573157msgstr ""
    31583158
    3159 #: inc/classes/class-happyforms.php:465
     3159#: inc/classes/class-happyforms.php:478
    31603160msgid "Current page"
    31613161msgstr ""
  • happyforms/trunk/readme.txt

    r2810826 r2813341  
    66Tested up to: 6.1
    77Requires PHP: 7.0
    8 Stable tag: 1.20.0
     8Stable tag: 1.20.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    160160
    161161== Changelog ==
     162
     163= November 7, 2022 =
     164
     165Version 1.20.1 changelog:
     166
     167* Fixed: Some controls were missing from the builder's Messages tab.
    162168
    163169= November 3, 2022 =
     
    14681474== Upgrade Notice ==
    14691475
     1476= 1.20.1 =
     1477* Restored missing fields in builder's Messages tab.
     1478
    14701479= 1.20.0 =
    14711480* Messages tab usability improvements, limited choice bugfixes in Radio, Checkbox and Dropdown fields.
Note: See TracChangeset for help on using the changeset viewer.