Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter Nevan

    (@ngnevan)

    Hi Adam,

    Thanks for your quick reply. I realised that what I wanted was to change the other input fields rather than the text fields.

    So I used this instead

    .forminator-input {
          text-transform: uppercase;
    }

    and added this to my wp-content/mu-plugin directory.

    <?php
    
    add_action('wp_footer', function() {
    ?>
        <script type="text/javascript">
        jQuery(document).ready(function($) {
            $('#forminator-module-77 input').on('keyup', function() {
                $(this).val($(this).val().toUpperCase());
    });
    });
    </script>
    <?php
    }, 99 );

    and it works! Thanks for your help

Viewing 1 replies (of 1 total)