Plugin Directory

Changeset 3293841


Ignore:
Timestamp:
05/15/2025 07:34:52 AM (10 months ago)
Author:
dickoandrean
Message:

update V.1.2.2

Location:
romethemeform
Files:
97 added
13 edited

Legend:

Unmodified
Added
Removed
  • romethemeform/trunk/controls/form_controls.php

    r3234440 r3293841  
    3939        $list = [];
    4040
    41         $template =  get_posts(['post_type' => 'romethemeform_form' , 'posts_per_page' => -1]);
     41        $template =  get_posts(['post_type' => 'romethemeform_form', 'posts_per_page' => -1]);
    4242        $list = [];
    4343        foreach ($template as $form) {
     
    5959                        <div class="rform-modal-header">
    6060                            <div class="rform-logo">
    61                                 <svg width="30" height="30" id="eohpCl3PVjW1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 300 300" shape-rendering="geometricPrecision" text-rendering="geometricPrecision">
    62                                     <g transform="matrix(.11326 0 0-.113381-20.251951 319.628716)">
    63                                         <path d="M372,2749c-46-14-109-80-122-128-7-27-10-384-8-1148l3-1108l24-38c13-21,42-50,64-65l41-27h1131h1131l41,27c22,15,51,44,64,65l24,38v812v813l-383,382-382,383-798,2c-485,1-810-2-830-8Zm1500-932c211-120,337-197,335-206-2-14-262-170-285-170-7-1-102,50-212,113l-200,115-200-115c-110-63-204-114-209-114-21,0-292,163-288,174c6,19,691,407,707,400c8-3,167-92,352-197Zm-151-319c82-46,148-86,149-89c0-3-12-11-27-18-26-12-20-16,183-131c115-66,210-123,212-128c3-9-277-172-296-172-7,0-107,54-222,120l-210,120-208-120c-115-66-215-120-223-120-24,1-284,155-286,170-2,10,125,88,380,232c210,120,386,218,391,218s76-37,157-82Z" transform="matrix(1.00378 0 0 1.013853-5.68208-20.7254)" fill="#858585" />
     61                                <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="esTFm6Uueg21" width="30" height="30" viewBox="0 0 492.94 492.94" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" project-id="f39061fa0d7140c0b843c54bc4fc263e" export-id="8175fbc5b63142aeb21ae9d901b96505" cached="false" fill="#00cea6">
     62                                    <g transform="matrix(1.449639 0 0 1.449639-132.842546-145.601744)">
     63                                        <rect width="82.32" height="82.32" rx="0" ry="0" transform="translate(123.22 294.99)" fill="currenColor" stroke-width="0" />
     64                                        <g>
     65                                            <polygon points="342.61,268.16 316.74,293.64 261.59,238.49 287.45,212.63 342.61,268.16" opacity="0.6" fill="currenColor" stroke-width="0" />
     66                                            <polygon points="400.1,377.31 288.12,377.31 270.64,359.83 260.83,350.02 205.69,294.88 123.22,212.41 123.22,100.44 123.43,100.65 400.06,377.27 400.1,377.31" fill="currenColor" stroke-width="0" />
     67                                        </g>
     68                                        <path d="M395.54,206.04c2.63,2.62,2.61,6.89-.03,9.49l-18.16,17.89-.21.21-34.52,34.53-11.88,11.33l3.92-3.74c4.36-4.16,4.45-11.1.18-15.37L197.92,123.48h114.16c.53,0,1.04.21,1.41.58l82.04,81.98h.01Z" fill="currenColor" stroke-width="0" />
    6469                                    </g>
    65                                     <path d="M199.680417,24.709473v75.9h76.5l-76.5-75.9Z" transform="matrix(1.075983 0 0 1.177621-4.45472-23.399398)" fill="#474747" stroke="#3f5787" stroke-width="0.6" />
    6670                                </svg>
    67                                 <strong>ROMETHEMEFORM</strong>
     71                                <strong>RTMForm</strong>
    6872                            </div>
    6973                            <div>
     
    216220                        <div class="elementor-editor-header-iframe">
    217221                            <div class="rform-editor-header">
    218                             <svg width="30" height="30" id="eohpCl3PVjW1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 300 300" shape-rendering="geometricPrecision" text-rendering="geometricPrecision"><g transform="matrix(.11326 0 0-.113381-20.251951 319.628716)"><path d="M372,2749c-46-14-109-80-122-128-7-27-10-384-8-1148l3-1108l24-38c13-21,42-50,64-65l41-27h1131h1131l41,27c22,15,51,44,64,65l24,38v812v813l-383,382-382,383-798,2c-485,1-810-2-830-8Zm1500-932c211-120,337-197,335-206-2-14-262-170-285-170-7-1-102,50-212,113l-200,115-200-115c-110-63-204-114-209-114-21,0-292,163-288,174c6,19,691,407,707,400c8-3,167-92,352-197Zm-151-319c82-46,148-86,149-89c0-3-12-11-27-18-26-12-20-16,183-131c115-66,210-123,212-128c3-9-277-172-296-172-7,0-107,54-222,120l-210,120-208-120c-115-66-215-120-223-120-24,1-284,155-286,170-2,10,125,88,380,232c210,120,386,218,391,218s76-37,157-82Z" transform="matrix(1.00378 0 0 1.013853-5.68208-20.7254)" fill="#f0f0f1"/></g><path d="M199.680417,24.709473v75.9h76.5l-76.5-75.9Z" transform="matrix(1.075983 0 0 1.177621-4.45472-23.399398)" fill="#a1a1a1" stroke="#3f5787" stroke-width="0.6"/></svg>
    219                                 <strong>ROMETHEMEFORM</strong>
     222                            <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="esTFm6Uueg21" width="30" height="30" viewBox="0 0 492.94 492.94" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" project-id="f39061fa0d7140c0b843c54bc4fc263e" export-id="8175fbc5b63142aeb21ae9d901b96505" cached="false" fill="#00cea6">
     223                                    <g transform="matrix(1.449639 0 0 1.449639-132.842546-145.601744)">
     224                                        <rect width="82.32" height="82.32" rx="0" ry="0" transform="translate(123.22 294.99)" fill="currenColor" stroke-width="0" />
     225                                        <g>
     226                                            <polygon points="342.61,268.16 316.74,293.64 261.59,238.49 287.45,212.63 342.61,268.16" opacity="0.6" fill="currenColor" stroke-width="0" />
     227                                            <polygon points="400.1,377.31 288.12,377.31 270.64,359.83 260.83,350.02 205.69,294.88 123.22,212.41 123.22,100.44 123.43,100.65 400.06,377.27 400.1,377.31" fill="currenColor" stroke-width="0" />
     228                                        </g>
     229                                        <path d="M395.54,206.04c2.63,2.62,2.61,6.89-.03,9.49l-18.16,17.89-.21.21-34.52,34.53-11.88,11.33l3.92-3.74c4.36-4.16,4.45-11.1.18-15.37L197.92,123.48h114.16c.53,0,1.04.21,1.41.58l82.04,81.98h.01Z" fill="currenColor" stroke-width="0" />
     230                                    </g>
     231                                </svg>
     232                                <strong>RTMForm</strong>
    220233                            </div>
    221234                            <button id="rform-editform-button" data-control-uid="<?php echo esc_js($control_uid) ?>" class="rform-modal-btn elementor-modal-iframe-btn-control "><?php echo esc_html__('SAVE & CLOSE', 'romethemeform') ?></button>
  • romethemeform/trunk/modules/form/form.php

    r3234440 r3293841  
    6767            }
    6868        } else {
    69             if ($screen->id === 'romethemekit_page_themebuilder') {
     69            if ($screen->id === 'romethemekit_page_themebuilder' || str_contains($screen->id , 'rtmkit')) {
    7070                wp_enqueue_script('rform-js', $this->url . 'assets/js/form.js', ['jquery'], \RomeThemeForm::rform_version());
    7171                wp_localize_script('rform-js', 'romethemeform_ajax_url', array(
  • romethemeform/trunk/readme.txt

    r3234440 r3293841  
    1 === RomethemeForm For Elementor ===
     1=== RTMForm Builder for Elementor ===
    22Contributors: dickoandrean
    33Tags: addons, widget, elementor, form ,form builder , extension
    44Requires at least: 6.6
    5 Tested up to: 6.7.1
     5Tested up to: 6.8.1
    66Requires PHP: 7.4
    7 Stable tag: 1.2.1
     7Stable tag: 1.2.2
    88License: GPLv3 or later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
    1010
    11 RomethemeForm For Elementor Plugin is an Form Builder for Elementor, and Widget Ready to use.
     11RTMForm For Elementor Plugin is an Form Builder for Elementor, and Widget Ready to use.
    1212
    1313== Description ==
    14 RomethemeForm is a Contact Form Builder for Elementor. It's easy, fast, and also safe to create any fancy contact form in just minutes. Collect information, make your content interactive, and generate more conversions.
     14RTMForm is a Contact Form Builder for Elementor. It's easy, fast, and also safe to create any fancy contact form in just minutes. Collect information, make your content interactive, and generate more conversions.
    1515
    1616Features
     
    1919• User Confirmation Email: A confirmation email can be sent when a user registers or enters their data to confirm their registration.
    2020• Saved Entries in the Admin Panel: Save all the data that users give to fill up the form and display it in the admin panel.
    21 • Export Entries as CSV: Export multiple data from your RomethemeForm that the user enters in a single CSV file and downloads in a spreadsheet.
     21• Export Entries as CSV: Export multiple data from your RTMForm that the user enters in a single CSV file and downloads in a spreadsheet.
    2222• Required Login to Submit the Form: This feature of the secure contact form, will show all the required fields to fill up the form by giving a simple red star icon and providing an error message if needed.
    2323
     
    38381. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly.
    39392. Activate the plugin through the \'Plugins\' screen in WordPress
    40 3. All Settings will be found in the Admin sidebar -> RomethemeForm
     403. All Settings will be found in the Admin sidebar -> RTMForm
    41414. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)
    4242
     
    4747== Frequently Asked Questions ==
    4848
    49 = How to use RomethemeForm for Elementor? =
     49= How to use RTMForm for Elementor? =
    5050
    51 Login your WordPress dashboard,  From the left menu click the RomethemeForm icon.
     51Login your WordPress dashboard,  From the left menu click the RTMForm icon.
    5252
    5353== Changelog ==
     54Version 1.2.2
     55* Fixed : Issue on Button can't click save & editing in the "Form" theme builder.
     56* Improved : Added background and border controls for the icon in the "Submit Button" widget
     57
    5458Version 1.2.1
    5559* Update Phone Widget
     
    99103
    100104Version : 1.0.0
    101 * Initial version of RomethemeForm for Elementor Plugin
     105* Initial version of RTMForm for Elementor Plugin
  • romethemeform/trunk/rometheme-form.php

    r3234440 r3293841  
    22
    33/**
    4  * Plugin Name:       RomethemeForm
     4 * Plugin Name:       RTMForm Builder for Elementor
    55 * Description:       The Advanced Form Builder for Elementor
    6  * Version:           1.2.1
     6 * Version:           1.2.2
    77 * Author:            Rometheme
    88 * Author URI:        https://rometheme.net/
     
    7979    static function rform_version()
    8080    {
    81         return '1.2.1';
     81        return '1.2.2';
    8282    }
    8383
  • romethemeform/trunk/widgets/assets/css/rform-button.css

    r2869144 r3293841  
    44}
    55
    6 .rform-button-submit{
     6button.rform-button-submit{
    77    position: relative;
    88    transition: all 1s;
     9    display: flex;
     10    justify-content: center;
     11    align-items: center;
     12    background-color: #00cea6;
     13    padding: 0.6rem;
     14    cursor: pointer;
     15    border: unset;
    916}
    1017
     
    1219    width: 100% !important;
    1320}
     21
     22.rform-btn-icon {
     23    display: block !important;
     24}
     25
     26svg.rform-btn-icon {
     27    width: 20px;
     28    height: 20px;
     29}
     30
     31i.rform-btn-icon {
     32    font-size: 20px;
     33}
     34
     35.rform-btn-icon-container {
     36    aspect-ratio: 1 / 1 ;
     37    transition: all 0.5s;
     38}
  • romethemeform/trunk/widgets/assets/css/rform-checkbox.css

    r2924626 r3293841  
    1111      display: flex;
    1212      flex-direction: row;
     13      flex-wrap: wrap;
    1314  }
    1415 
  • romethemeform/trunk/widgets/assets/css/spinner-loading.css

    r2869144 r3293841  
    55  border: 3px solid rgba(255, 255, 255, .3);
    66  border-radius: 50%;
    7   border-top-color: #fff;
     7  border-top-color: currentColor;
    88  animation: spin 1s ease-in-out infinite;
    99  -webkit-animation: spin 1s ease-in-out infinite;
     
    1919  justify-content: center;
    2020  align-items: center;
    21   background-color: var(--button--color-background);
     21  background-color: #00cea6;
    2222  border-radius: var(--button--border-radius);
    2323}
  • romethemeform/trunk/widgets/assets/js/rform.js

    r3090708 r3293841  
    11jQuery(document).ready(($) => {
    2     $('.rform-button-submit').click(function (event) {
     2    $('.rform-button-submit').on('click' , function (event) {
    33        event.preventDefault();
    44        var form = $(this).closest("form");
     
    1919
    2020            });
    21             if (form.get(0).checkValidity()) {
     21            if (form[0].checkValidity()) {
    2222                if (form.find("[aria-invalid= true]").length == 0) {
    2323                    // console.log('Form Valid');
  • romethemeform/trunk/widgets/rform-button-submit.php

    r3234440 r3293841  
    126126            'type' => \Elementor\Controls_Manager::SELECT,
    127127            'options' => [
    128                 'before' => esc_html__('Before', 'romethemeform'),
    129                 'after' => esc_html__('After', 'romethemeform'),
     128                'row' => esc_html__('Before', 'romethemeform'),
     129                'row-reverse' => esc_html__('After', 'romethemeform'),
    130130            ],
    131             'default' => 'before',
     131            'default' => 'row',
     132            'selectors' => [
     133                '{{WRAPPER}} .rform-button-submit' => 'flex-direction: {{VALUE}}'
     134            ]
     135
    132136        ]);
    133137
     
    297301
    298302        $this->start_controls_section('icon_style', ['label' => esc_html__('Icon', 'romethemeform'), 'tab' => \Elementor\Controls_Manager::TAB_STYLE]);
    299         $this->add_control('icon_color', [
    300             'label' => esc_html__('Icon Color', 'romethemeform'),
    301             'type' => \Elementor\Controls_Manager::COLOR,
    302             'selectors' => [
    303                 '{{WRAPPER}} .rform-btn-icon' => 'color:{{VALUE}}'
    304             ]
    305         ]);
     303
     304        $this->add_responsive_control(
     305            'icon_spacing',
     306            [
     307                'label' => esc_html__('Icon Spacing', 'romethemeform'),
     308                'type' => \Elementor\Controls_Manager::SLIDER,
     309                'size_units' => ['px', 'em', 'rem'],
     310                'range' => [
     311                    'px' => [
     312                        'min' => 0,
     313                        'max' => 100,
     314                        'step' => 1,
     315                    ],
     316                    'em' => [
     317                        'min' => 0,
     318                        'max' => 50,
     319                    ],
     320                    'rem' => [
     321                        'min' => 0,
     322                        'max' => 50,
     323                    ],
     324                ],
     325                'selectors' => [
     326                    '{{WRAPPER}} .rform-button-submit' => 'gap: {{SIZE}}{{UNIT}};',
     327                ]
     328            ]
     329        );
    306330
    307331        $this->add_responsive_control(
     
    327351                ],
    328352                'selectors' => [
    329                     '{{WRAPPER}} .rform-btn-icon' => 'font-size: {{SIZE}}{{UNIT}};',
    330                 ],
    331             ]
    332         );
    333 
    334         $this->add_responsive_control(
    335             'padding_left',
    336             [
    337                 'label' => esc_html__('Padding Left', 'romethemeform'),
     353                    '{{WRAPPER}} i.rform-btn-icon' => 'font-size: {{SIZE}}{{UNIT}};',
     354                    '{{WRAPPER}} svg.rform-btn-icon' => 'width: {{SIZE}}{{UNIT}}; height : {{SIZE}}{{UNIT}};',
     355                ],
     356            ]
     357        );
     358
     359        $this->add_responsive_control(
     360            'icon_padding',
     361            [
     362                'label' => esc_html__('Padding', 'romethemeform'),
    338363                'type' => \Elementor\Controls_Manager::SLIDER,
    339364                'size_units' => ['px', 'em', 'rem'],
     
    354379                ],
    355380                'selectors' => [
    356                     '{{WRAPPER}} .rform-btn-icon' => 'padding-left: {{SIZE}}{{UNIT}};',
    357                 ],
    358                 'condition' => [
    359                     'icon_position' => 'after'
    360                 ]
    361             ]
    362         );
    363 
    364         $this->add_responsive_control(
    365             'padding_right',
    366             [
    367                 'label' => esc_html__('Padding Right', 'romethemeform'),
    368                 'type' => \Elementor\Controls_Manager::SLIDER,
    369                 'size_units' => ['px', 'em', 'rem'],
    370                 'range' => [
    371                     'px' => [
    372                         'min' => 0,
    373                         'max' => 100,
    374                         'step' => 1,
    375                     ],
    376                     'em' => [
    377                         'min' => 0,
    378                         'max' => 50,
    379                     ],
    380                     'rem' => [
    381                         'min' => 0,
    382                         'max' => 50,
    383                     ],
    384                 ],
    385                 'selectors' => [
    386                     '{{WRAPPER}} .rform-btn-icon' => 'padding-right: {{SIZE}}{{UNIT}};',
    387                 ],
    388                 'condition' => [
    389                     'icon_position' => 'before'
    390                 ]
    391             ]
    392         );
    393 
    394 
    395         $this->add_responsive_control(
    396             'vertical_align',
    397             [
    398                 'label' => esc_html__('Vertical Align', 'romethemeform'),
    399                 'type' => \Elementor\Controls_Manager::SLIDER,
    400                 'size_units' => ['px', 'em', 'rem'],
    401                 'range' => [
    402                     'px' => [
    403                         'min' => -20,
    404                         'max' => 20,
    405                         'step' => 1,
    406                     ],
    407                     'em' => [
    408                         'min' => -5,
    409                         'max' => 5,
    410                     ],
    411                     'rem' => [
    412                         'min' => -5,
    413                         'max' => 5,
    414                     ],
    415                 ],
    416                 'selectors' => [
    417                     '{{WRAPPER}} .rform-btn-icon' => 'transform: translateY({{SIZE}}{{UNIT}});',
    418                     '{{WRAPPER}} .rform-btn-icon' => '-webkit-transform: translateY({{SIZE}}{{UNIT}});',
    419                 ],
    420             ]
    421         );
     381                    '{{WRAPPER}} .rform-btn-icon-container' => 'padding: {{SIZE}}{{UNIT}};',
     382                ],
     383            ]
     384        );
     385
     386        $this->add_control(
     387            'icon_radius',
     388            [
     389                'label' => esc_html__('Border Radius', 'textdomain'),
     390                'type' => \Elementor\Controls_Manager::DIMENSIONS,
     391                'size_units' => ['px', '%', 'em', 'rem', 'custom'],
     392                'selectors' => [
     393                    '{{WRAPPER}} .rform-btn-icon-container' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     394                ],
     395            ]
     396        );
     397
     398        $this->start_controls_tabs('icon_tabs');
     399
     400        $this->start_controls_tab('icon_tab_normal', ['label' => esc_html('Normal')]);
     401
     402        $this->add_control('icon_color', [
     403            'label' => esc_html__('Icon Color', 'romethemeform'),
     404            'type' => \Elementor\Controls_Manager::COLOR,
     405            'selectors' => [
     406                '{{WRAPPER}} i.rform-btn-icon' => 'color:{{VALUE}}',
     407                '{{WRAPPER}} svg.rform-btn-icon' => 'fill:{{VALUE}}'
     408            ]
     409        ]);
     410
     411        $this->add_group_control(
     412            \Elementor\Group_Control_Background::get_type(),
     413            [
     414                'name' => 'icon_background_normal',
     415                'types' => [ 'classic', 'gradient'],
     416                'selector' => '{{WRAPPER}} .rform-btn-icon-container',
     417                'exclude' => ['image']
     418            ]
     419        );
     420
     421        $this->add_group_control(
     422            \Elementor\Group_Control_Border::get_type(),
     423            [
     424                'name' => 'icon_border_normal',
     425                'selector' => '{{WRAPPER}} .rform-btn-icon-container',
     426            ]
     427        );
     428
     429        $this->end_controls_tab();
     430
     431         $this->start_controls_tab('icon_tab_hover', ['label' => esc_html('Hover')]);
     432
     433        $this->add_control('icon_color_hover', [
     434            'label' => esc_html__('Icon Color', 'romethemeform'),
     435            'type' => \Elementor\Controls_Manager::COLOR,
     436            'selectors' => [
     437                '{{WRAPPER}} .rform-button-submit:hover i.rform-btn-icon' => 'color:{{VALUE}}',
     438                '{{WRAPPER}} .rform-button-submit:hover svg.rform-btn-icon' => 'fill:{{VALUE}}'
     439            ]
     440        ]);
     441
     442        $this->add_group_control(
     443            \Elementor\Group_Control_Background::get_type(),
     444            [
     445                'name' => 'icon_background_hover',
     446                'types' => [ 'classic', 'gradient' ],
     447                'selector' => '{{WRAPPER}} .rform-button-submit:hover .rform-btn-icon-container',
     448                'exclude' => ['image']
     449            ]
     450        );
     451
     452         $this->add_group_control(
     453            \Elementor\Group_Control_Border::get_type(),
     454            [
     455                'name' => 'icon_border_hover',
     456                'selector' => '{{WRAPPER}} .rform-button-submit:hover .rform-btn-icon-container',
     457            ]
     458        );
     459
     460        $this->end_controls_tab();
     461
     462        $this->end_controls_tabs();
    422463
    423464        $this->end_controls_section();
     
    431472        <div class="rform-button-container">
    432473            <button class="rform-button-submit <?php echo ($settings['btn_fullwidth'] === 'yes') ? 'rform-btn-fullwidth' : '' ?>" type="button" id="rform-button-submit">
    433                 <?php if ($settings['icon_position'] == 'before') :
     474                <div class="rform-btn-icon-container">
     475                    <?php
    434476                    \Elementor\Icons_Manager::render_icon($settings['btn_icon'], ['aria-hidden' => 'true', 'class' => 'rform-btn-icon']);
    435                 endif; ?>
     477                    ?>
     478                </div>
    436479                <?php echo esc_html__($settings['button_text']); ?>
    437                 <?php if ($settings['icon_position'] == 'after') :
    438                     \Elementor\Icons_Manager::render_icon($settings['btn_icon'], ['aria-hidden' => 'true', 'class' => 'rform-btn-icon']);
    439                 endif; ?>
    440480                <div class="loading">
    441481                    <div id="loading"></div>
  • romethemeform/trunk/widgets/rform-input-number.php

    r3234440 r3293841  
    514514        $min_length = $settings['min_length'];
    515515        $max_length = $settings['max_length'];
    516         $validation_type = $settings['validation_type'];
    517516        $label_text = $settings['label_text'];
    518517
     
    526525                    </label>
    527526                <?php endif; ?>
    528                 <input name="<?php echo esc_attr($settings['name_input']) ?>" placeholder="<?php echo esc_attr($settings['placeholder_input']) ?>" class="rform-input-number" id="rform-input-number-<?php echo esc_attr($this->get_id_int()); ?>" type="number" onblur="validate_input( '<?php echo esc_js('rform-input-number-') ?>' , '<?php echo esc_js('rform-input-err-') ?>' ,'<?php echo esc_js($this->get_id_int()); ?>')" aria-invalid=false data-val="<?php echo esc_attr($validation_type) ?>" <?php if ($settings['max_length']) : ?> max="<?php echo esc_attr($max_length); ?>" <?php endif; ?> <?php if ($settings['min_length']) : ?> min="<?php echo esc_attr($min_length) ?>" <?php endif; ?> <?php echo ('yes' === $settings['required_input']) ? esc_attr('required') : '' ?>>
     527                <input name="<?php echo esc_attr($settings['name_input']) ?>" placeholder="<?php echo esc_attr($settings['placeholder_input']) ?>" class="rform-input-number" id="rform-input-number-<?php echo esc_attr($this->get_id_int()); ?>" type="number" onblur="validate_input( '<?php echo esc_js('rform-input-number-') ?>' , '<?php echo esc_js('rform-input-err-') ?>' ,'<?php echo esc_js($this->get_id_int()); ?>')" aria-invalid=false <?php if ($settings['max_length']) : ?> max="<?php echo esc_attr($max_length); ?>" <?php endif; ?> <?php if ($settings['min_length']) : ?> min="<?php echo esc_attr($min_length) ?>" <?php endif; ?> <?php echo ('yes' === $settings['required_input']) ? esc_attr('required') : '' ?>>
    529528            </div>
    530529            <span role="alert" class="rform-error" id="rform-input-err-<?php echo $this->get_id_int(); ?>"><?php echo esc_html__($settings['warning_message'], 'romethemeform') ?></span>
  • romethemeform/trunk/widgets/rtform-date.php

    r3142603 r3293841  
    536536                    </label>
    537537                <?php endif; ?>
    538                 <input name="<?php echo esc_attr($settings['name_input']) ?>" placeholder="<?php echo esc_attr($settings['placeholder_input']) ?>" class="rform-input" id="rform-input-text-<?php echo esc_attr($this->get_id_int()); ?>" type="date" dateformat="d-m-Y" onblur="validate_input( '<?php echo esc_js('rform-input-text-') ?>' , '<?php echo esc_js('rform-input-err-') ?>' ,'<?php echo esc_js($this->get_id_int()); ?>')" aria-invalid=false data-val="<?php echo esc_attr($validation_type) ?>" <?php if ($settings['max_length']) : ?> data-val-maxLength="<?php echo esc_attr($max_length); ?>" <?php endif; ?> <?php if ($settings['min_length']) : ?> data-val-minLength="<?php echo esc_attr($min_length) ?>" <?php endif; ?> <?php echo ('yes' === $settings['required_input']) ? esc_attr('required') : '' ?>>
     538                <input name="<?php echo esc_attr($settings['name_input']) ?>" class="rform-input" id="rform-input-text-<?php echo esc_attr($this->get_id_int()); ?>" type="date" dateformat="d-m-Y" onblur="validate_input( '<?php echo esc_js('rform-input-text-') ?>' , '<?php echo esc_js('rform-input-err-') ?>' ,'<?php echo esc_js($this->get_id_int()); ?>')" aria-invalid=false data-val="<?php echo esc_attr($validation_type) ?>" <?php if ($settings['max_length']) : ?> data-val-maxLength="<?php echo esc_attr($max_length); ?>" <?php endif; ?> <?php if ($settings['min_length']) : ?> data-val-minLength="<?php echo esc_attr($min_length) ?>" <?php endif; ?> <?php echo ('yes' === $settings['required_input']) ? esc_attr('required') : '' ?>>
    539539            </div>
    540540            <span role="alert" class="rform-error" id="rform-input-err-<?php echo $this->get_id_int(); ?>"><?php echo esc_html__($settings['warning_message'], 'romethemeform') ?></span>
  • romethemeform/trunk/widgets/rtform-time.php

    r3142603 r3293841  
    535535                    </label>
    536536                <?php endif; ?>
    537                 <input name="<?php echo esc_attr($settings['name_input']) ?>" placeholder="<?php echo esc_attr($settings['placeholder_input']) ?>" class="rform-input" id="rform-input-text-<?php echo esc_attr($this->get_id_int()); ?>" type="time" dateformat="d-m-Y" onblur="validate_input( '<?php echo esc_js('rform-input-text-') ?>' , '<?php echo esc_js('rform-input-err-') ?>' ,'<?php echo esc_js($this->get_id_int()); ?>')" aria-invalid=false data-val="<?php echo esc_attr($validation_type) ?>" <?php if ($settings['max_length']) : ?> data-val-maxLength="<?php echo esc_attr($max_length); ?>" <?php endif; ?> <?php if ($settings['min_length']) : ?> data-val-minLength="<?php echo esc_attr($min_length) ?>" <?php endif; ?> <?php echo ('yes' === $settings['required_input']) ? esc_attr('required') : '' ?>>
     537                <input name="<?php echo esc_attr($settings['name_input']) ?>" class="rform-input" id="rform-input-text-<?php echo esc_attr($this->get_id_int()); ?>" type="time" dateformat="d-m-Y" onblur="validate_input( '<?php echo esc_js('rform-input-text-') ?>' , '<?php echo esc_js('rform-input-err-') ?>' ,'<?php echo esc_js($this->get_id_int()); ?>')" aria-invalid=false data-val="<?php echo esc_attr($validation_type) ?>" <?php if ($settings['max_length']) : ?> data-val-maxLength="<?php echo esc_attr($max_length); ?>" <?php endif; ?> <?php if ($settings['min_length']) : ?> data-val-minLength="<?php echo esc_attr($min_length) ?>" <?php endif; ?> <?php echo ('yes' === $settings['required_input']) ? esc_attr('required') : '' ?>>
    538538            </div>
    539539            <span role="alert" class="rform-error" id="rform-input-err-<?php echo $this->get_id_int(); ?>"><?php echo esc_html__($settings['warning_message'], 'romethemeform') ?></span>
  • romethemeform/trunk/widgets/rtform.php

    r3142603 r3293841  
    99    public function get_title()
    1010    {
    11         return 'RForm';
     11        return 'RTMForm';
    1212    }
    1313    public function get_icon()
Note: See TracChangeset for help on using the changeset viewer.