If you decided to change the field names through the WordPress options, be sure to change the field names in the code you added to comment.php (and, after correcting the field names in the code you added, be sure to refresh/clear browser cache).
I didn’t change anything but wonder if I need to…Not sure how to do this… here’s what’s in the comment.php for Field Names:
<!– ****************** Field Names ****************** –>
<fieldset class=”options”>
<legend>Field Names</legend>
<p style=”margin-left: 25px; color: #555; font-size: .85em;”>
<label for=”mcsp_opt_fieldname_useranswer”>Name of field for user’s answer:</label>
<input name=”mcsp_opt_fieldname_useranswer” type=”text” id=”mcsp_opt_fieldname_useranswer” value=”<?php echo $optionarray_def[‘mcsp_opt_fieldname_useranswer’]; ?>” size=”30″ />
<label for=”mcsp_opt_fieldname_mathresult”>Name of hidden field that contains the hash:</label>
<input name=”mcsp_opt_fieldname_mathresult” type=”text” id=”mcsp_opt_fieldname_mathresult” value=”<?php echo $optionarray_def[‘mcsp_opt_fieldname_mathresult’]; ?>” size=”30″ />
</p>
</fieldset>
And here’s what in the WordPress Options > Field Names:
User’s Answer: mcspvalue
Hidden Field that Contains the Hash: mcspinfo
I’m assuming by your post I need to put the WordPress options into the comment.php code but I don’t know exactly where…
Thanks!
Lori 🙂