TOPIC:

jQuery Masked Input Issue 11 months 1 week ago #237272

  • Topic Author
  • monsterazor
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 33
  • Thanks: 0
Hi everyone;
I'm using masked input for telephone-field in my form. It was working perfectly at first times. But now it's not working anymore. I can't determine source of issue. But I changed my theme in close time. Maybe it can caused it.

And here is my code at 'Form Pieces' - Before
echo '<script src="/includes/js/maskedinput/src/jquery.maskedinput.js" 
type="text/javascript"></script>';
echo '<script>
jQuery(function($){
     $("#ff_elem140").mask("9(999) 999 99 99");
});
</script>';

Phone field id is still same. I'm waiting for your reply.

Please Log in or Create an account to join the conversation.

Last edit: Post by monsterazor.

jQuery Masked Input Issue 11 months 1 week ago #237274

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
Hi,

The code you sent seems valid...
Can you tell me if there are any errors in the browser console ?
Is ff_elem140 the correct ID of the element you are targeting ?

Regards,
Mario

Please Log in or Create an account to join the conversation.

jQuery Masked Input Issue 11 months 1 week ago #237282

  • Topic Author
  • monsterazor
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 33
  • Thanks: 0

MarioPuco wrote: Hi,

The code you sent seems valid...
Can you tell me if there are any errors in the browser console ?
Is ff_elem140 the correct ID of the element you are targeting ?

Regards,
Mario


ff_elem140 is correct ID of the element.
And here is my error console.
JQMIGRATE: Migrate is installed, version 1.4.1
favth-scripts.js:24 Uncaught TypeError: jQuery(...).favthtooltip is not a function
    at HTMLDocument.<anonymous> (favth-scripts.js:24)
    at u (jquery.min.js?d3b731b4ebcb18a51890d86a433b4604:2)
    at Object.fireWith [as resolveWith] (jquery.min.js?d3b731b4ebcb18a51890d86a433b4604:2)
    at Function.ready (jquery.min.js?d3b731b4ebcb18a51890d86a433b4604:2)
    at HTMLDocument._ (jquery.min.js?d3b731b4ebcb18a51890d86a433b4604:2)
js?v=3.exp&key=*_-0&signed_in=true&libraries=places:60 This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers Console: https://console.developers.google.com/apis/api/places_backend?project=_ For more information on authentication and Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key
_.Vc @ js?v=3.exp&key=*_-0&signed_in=true&libraries=places:60
util.js:232 Google Maps JavaScript API warning: SignedInNotSupported https://developers.google.com/maps/documentation/javascript/error-messages#signed-in-not-supported

Please Log in or Create an account to join the conversation.

jQuery Masked Input Issue 11 months 1 week ago #237288

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
Hi,

Please try this :
$this->execPieceByName('ff_InitLib');
echo '<script src="\includes\js\maskedinput\src\jquery.maskedinput.js"
type="text/javascript"></script>';
echo '<script>
jQuery(function($){
jQuery("#ff_elem140").mask("99 999 99");
});
</script>';

Regards,
Mario

Please Log in or Create an account to join the conversation.

Last edit: Post by MarioPuco.

jQuery Masked Input Issue 11 months 1 week ago #237291

  • Topic Author
  • monsterazor
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 33
  • Thanks: 0

MarioPuco wrote: Hi,

Please try this :

$this->execPieceByName('ff_InitLib');
echo '<script src="\includes\js\maskedinput\src\jquery.maskedinput.js"
type="text/javascript"></script>';
echo '<script>
jQuery(function($){
jQuery("#ff_elem140").mask("99 999 99");
});
</script>';

Regards,
Mario



Unfortunately nothings hasn't been change. Have you any idea ?

Please Log in or Create an account to join the conversation.

jQuery Masked Input Issue 11 months 1 week ago #237308

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
Hi,

Can you send me a link to yoru Form please ?

Regards,
Mario

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.051 seconds

Summer Sale!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!