}
public void setChallengeId(String challengeId) {
DataForm challengeForm = getChallengeForm();
FormField field = challengeForm.getField("cid");
if( field == null ) {
field = challengeForm.addField();
field.setVariable("cid");
field.setType(FormField.Type.hidden);
field.clearValues();
}
field.addValue(challengeId);
}