Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.
Moderators: jmacgreg, michael, John
Forum rules
What to do if you have a technical problem with OCS:1.
Search the forum. You can do this from the
Advanced Search Page or from our
Google Custom Search, which will search the entire PKP site. If you are encountering an error, we
especially recommend searching the forum for said error.
2.
Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.
3.
Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the
OCS Conference Support and Discussion subforum; if you have a development question, try the
OCS Development subforum.
by hksatay » Wed Aug 22, 2007 3:34 am
If user checked register as reviewer, then i would like to know he checked the checkbox e.g. <input type="checkbox" name="dinner" id="dinner" value="1" /> or not in CreateAccountForm.inc.php
As I knew that there is a FormValidatorCustom and i can check the value of "createAsReviewer", but, can i do the following logic?
Before form submission,
If user is checked as reviewer
then, check the checkbox of 'dinner' is checked or not?
Thanks~
-
hksatay
-
- Posts: 10
- Joined: Wed Aug 22, 2007 3:17 am
by asmecher » Wed Aug 22, 2007 8:02 am
Hi hksatay,
Yes, the FormValidatorCustom is probably the best one to use. There are a few examples of its use in OCS that might be helpful:
- classes/admin/form/ConferenceSiteSettingsForm.inc.php, to ensure that the supplied conference path is not already in use
- classes/install/form/InstallForm.inc.php, to ensure that the two supplied passwords match
- ...etc.
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5748
- Joined: Wed Aug 10, 2005 12:56 pm
-
Return to OCS Technical Support
Who is online
Users browsing this forum: No registered users and 2 guests