WeBWorK Main Forum

Web *FORMS* to write custom problems instead of alternate languages like Python...

Re: Web *FORMS* to write custom problems instead of alternate languages like Python...

by Christian Seberino -
Number of replies: 0
The best way I can think of to include this new form code in the PGproblemeditor is to put all the Javascript code into a separate file and load it from there. Then we can put it under version control and iterate on it as long as we want without changing anything else.

Can you do that? What do you think?

So in other words....if you store it in say /path/to/jquery_form.js, then in the PGproblemeditor well just need to add the following:

<script type="text/javascript" src="/path/to/jquery_form.js"></script>




cs