
|
|
How can I hard code the default maximum number of tries in a problem. |
| The xml for this is
<parameter description="Maximum Number of Tries" type="int_pos" default="1" name="maxtries"> Change the default="1" to whatever value you want. Note that this parameter applies to a problem part and is NOT a parameter inside a response block. It must appear outside the response block tags e.g. before < numericalresponse> but within the <part > tags for a parted problem. You can use the CSTR graphical Edit features to aid you in inserting the correct xml when doing this. However, as of LON-CAPA v1.2, there was not a drop list item to insert parameter tags inside a problem or problem part. You will have to go to "editXML" and enter a pair of <parameter > tags in the appropriate place. Once you have done that you will find in Edit that there is available a template for the maxtries parameter. batchelo@sfu.ca | |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||||