7 years ago
3
Topic

Good day!

I am trying to add my custom JavaScript that have to hide the phone number from the field (on a click, simply show number)

This field I add in "Form & Content Type". Field had showed, but JavaScript not included on page (i checked the source code page)

I wanto to use the template override.

Get a Book for SEBLOD
4229 Posts
Kadministrator
7 years ago
2
Level 1

Did you use javascript field from code pack or where did you add javascript?

7 years ago
1
Level 2

I tried on clean seblod. and it script does not include on page. And I also tried to install seblod plugin Seblod (JS), but nothing has changed not in the interface, not in the front-end

http://radikal.ru/lfp/s018.radikal.ru/i500/1710/cf/994b16d4e0aet.jpg/htm

4229 Posts
Kadministrator
7 years ago
0
Level 3

Hi,

javascript field works for sure, but this is normal field on your screenshot. If you are using some template famework or javasript optimization plugin it might be affecting the output, try with default joomla template and without such plugins turned on.. Also please note usually javacript is not output directly as it written, it is wrapped in the event listener.

Get a VIP membership