How to check empty subjects?

Is Coranto not working properly for you? Here's where to ask for support help; for best results, follow these steps:
  • - Check your core/addon documentation for possible solutions
  • - Search these forums for similar problems that have already been solved
  • - If you're still stumped, check out THIS TOPIC, and post your question in this forum!!

Moderators: Spunkmeyer, Dale Ray, SrNupsen, Bluetooth, Jackanape

How to check empty subjects?

Postby Gianni » Tue Jan 29, 2008 9:46 am

Hello, a very simple question:

Some of my posters leave empty subjects and/or text body.
Is there anyway or addon to check this (maybe via javascript) and warn the user that the particular field is empty and they have to fill it in?
Something making the field/s I specify "required"?
Posts: 6
Joined: Sat Oct 27, 2007 8:35 am

Postby SrNupsen » Tue Jan 29, 2008 11:06 am

Check out the XMultiSubmit addon available from this page. It is very useful for a lot of things, among others you can specify which fields should be REQUIRED when submittig a news item (which is what you're after, I think).

Also note that when creating a Coranto style you can easily put in a check to see if a field is filled:

Code: Select all
<If: Field: Subject>
Yeah, subject is <Field: Subject>
<If: Else>
No subject specified!
Coranto is free software. I am available for custom work or troubleshooting. - transkripsjon, webdesign, nettsider, tekstbyrå - satire, politikk, kultur, sport, nettavis
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 6 guests