michaelS-13
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Divi in Views is not inserting any shortcodes into a text module.
Gestartet von: michaelS-13 in: Toolset Professional Support |
|
2 | 2 | vor 5 Jahren, 4 Monaten | |
image upload in a form invokes the backend wordpress uploader vs front-end
Gestartet von: michaelS-13 in: Chat Support |
|
1 | 2 |
vor 5 Jahren, 6 Monaten
|
|
telephone cred field on user form (Create Free Seller Account) stopped working..
Gestartet von: michaelS-13
in: 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 | vor 5 Jahren, 6 Monaten |