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.

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.

I'm looking to add an another field into the "Registration Options" to make one of the options required, while registering for a conference. The conference requires people to agree to a of couple policies, but with the current registration options people can register without agreeing to the required policies. I realize I will need to rework some code in the the classes/registration/ folder, but I'm also not quite sure where to begin.

We have two policies (ie. Cancellation policy and a Release of Information Policy) that a person must agree with to register for the conference. Someone who wants to register for a conference must agree with these policies in order to register online, otherwise they must sign up manually by contacting the email address that we provide.

I suspect your easiest solution will be a template modification that introduces a) the policies and b) some quick JavaScript to make sure the checkboxes are checked before the form is submitted. If you don't want to modify the templates that directly (i.e. if you are running other conferences on the same system) then the cleanest way to do this would be to follow the lead of the Submission Checklist that authors are asked to confirm before they're allowed to submit papers. (This is configured in Setup.)

If you're dumping JavaScript directly into a template file, make sure Smarty isn't trying to interpret it -- Smarty uses { and } for its own tags. Chuck your Javascript inside Smarty's {literal}...{/literal} tag, or use {ldelim} and {rdelim} instead of { and } (respectively). If this is indeed the problem you're running into, using "View Source" in your browser will show that your JavaScript is getting garbled before it reaches the browser.

For anyone else looking to achieve the same thing I did, here is a quick explanation of my solution.

*Note: This does not submit any data into the database. Our conferences require participant's to agree to two policies in order to register online, otherwise they have to sign up manually by contacting us.

File: templates/registration/userResistrationForm.tpl

First, in the Form tag I added onsubmit="return validateForm()" as to run the function before the form is submitted. For the policies that are required I added two check boxes a little down the page (Need to be inside the Form tags). Next I wrote the function that looks like this (removing the "User form validation" to save some space).

The {literal} tags, as Alec mentioned, allow for the Javascript to run no problem. This bit of code grabs the two values of the form's (True or False) and then follows the set path. In this case, the form will only be submitted when the user agree's to both policies.

I was wondering, in addition to this. How would you go about writing this information into the database?

I have a new problem where one of the Registration Options is called "Presentation Type", which could either be "Poster Presentation", "Oral Presentation", or "Not Presentation". A person registering should only be able to choose one of those items items. And it is essential that this information is displayed in the downloadable "Registrant Report".

Also, how does OCS store the information regarding whether or not a registrant checked the registration option?