9 years ago
6
Topic

Hello,

I am trying to make the "Article Tags (JForm- Tag) required and validated with the current list of tags.

How do I get it to require a selection from the Tag dropdown menu?

screenshot

Thanks,

Jeff

Get a VIP membership
9 years ago
5
Level 1

The objective is only selection, the user can´t add new tags ?

9 years ago
4
Level 2

Codigo Aberto,

We are not allowing the creation of new tags.

Is there a way to require at least one selection from the given list?  

See screenshot:  https://dl.dropboxusercontent.com/u/4967834/forum-postings/seblod/Screen%20Shot%202015-04-05%20at%2011.15.32%20PM.png

Thank you,

Jeff

9 years ago
3
Level 3

use javascript to validade or put the field as "required"

9 years ago
2
Level 4

Codigo,

I have it set to "required" but that is not stopping the form from being submitted.

https://www.dropbox.com/s/tctphxouiin05ca/Screenshot%202015-04-07%2016.17.14.png?dl=0

What javascript code and where would I put it to validate com_tags?

Thanks

Jeff

9 years ago
1
Level 5

I have it set to "required" but that is not stopping the form from being submitted.

If not stopping, waht value goes by default ?

9 years ago
0
Level 6

Codigo,

No value, tag, gets saved.

Here is the backend showing that the tag field is empty:  https://www.dropbox.com/s/d55li9zyadm19g7/Screenshot%202015-04-07%2016.28.03.png?dl=0

Regards,

Jeff

Get a Book for SEBLOD