Required article content?

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
barakapeti
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Mon Oct 15, 2018 9:40 am

Required article content?

Post by barakapeti » Tue Dec 03, 2019 8:17 am

Hi,

do you happen to know, how can I make article content required?
Article title and category are required basicly, but I would like to make required content too.
J 3.9.6

Thanks!

 
waarnemer
Joomla! Hero
Joomla! Hero
Posts: 2688
Joined: Sun May 04, 2008 12:37 pm

Re: Required article content?

Post by waarnemer » Tue Dec 03, 2019 4:39 pm

you mean the editor content field?

I think you'd need a plugin to do that... I had one to force tagging.. but probably similar can do for the text field..
see: viewtopic.php?f=706&t=967272 where this was done on tags field.

$form->setFieldAttribute('type', 'required', 'true');

where type is the editor field "articletext" in your quest.

I'd disregard the jQuery....

barakapeti
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Mon Oct 15, 2018 9:40 am

Re: Required article content?

Post by barakapeti » Wed Dec 04, 2019 1:55 pm

Yes, I need similar solution and yes, I mean the editor content.
Unfortunatelly I'm not a programmer so I not really can make plugin for this.. :\

 

Post Reply

Return to “Administration Joomla! 3.x”