michaelS-13
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Divi in Views is not inserting any shortcodes into a text module.
Iniciado por: michaelS-13 en: Toolset Professional Support |
|
2 | 2 | hace 5 años, 4 meses | |
image upload in a form invokes the backend wordpress uploader vs front-end
Iniciado por: michaelS-13 en: Chat Support |
|
1 | 2 |
hace 5 años, 6 meses
|
|
telephone cred field on user form (Create Free Seller Account) stopped working..
Iniciado por: michaelS-13
en: Toolset Professional Support
Problem: The issue here is that the user had a phone number field on their form. However this field stopped working. Solution: Upon investigating the issue I found that the user was using some custom code to format the field into a telephone number, however the code had some issues and caused the field to stop working. The correct code can be seen below. document.getElementsByName('wpcf-telephone')[0].addEventListener('input', function (e) { var x = e.target.value.replace(/\D/g, '').match(/(\d{0,3})(\d{0,3})(\d{0,4})/); e.target.value = !x[2] ? x[1] : '(' + x[1] + ') ' + x[2] + (x[3] ? '-' + x[3] : ''); }); To get this to work for your site just replace 'wpcf-telephone' with "wpcf-myfield" where myfield is the slug of your custom field. |
|
2 | 10 | hace 5 años, 6 meses |