Obligatory Subject and SubjectClass

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 74
Joined: Fri Jan 18, 2008 4:20 am
Location: Barcelona

Obligatory Subject and SubjectClass

Postby svillanueva » Fri Mar 28, 2008 1:50 am


in our journal, when an author submits an article, we would like him/her to enter, at least, one keyword. We use 2 kind of keywords, the variables subject and subjectClass. We would like to include these 2 fields in the list of obligatory fields in the author's form. But knowing that, if the author gives a subject keyword, then the subjectClass can be empty and vice versa.

How can I do that? What kind of form class do we have to use? I've seen we need to add some check at


but I don't know exactly how to do it.


Sergi Villanueva.

Return to “OJS Development”

Who is online

Users browsing this forum: No registered users and 1 guest