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
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
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?
- Posts: 10
- Joined: Wed Aug 22, 2007 3:17 am
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
Public Knowledge Project Team
- Posts: 9097
- Joined: Wed Aug 10, 2005 12:56 pm
Return to OCS Technical Support
Who is online
Users browsing this forum: Google [Bot] and 1 guest