When title or question are blank and the user submit the question form, appear errors and when the user want to try again it doesn’t work, why please help me!!
Look the code in the end of the form:
$html .= ‘<input type=”button” name=”ask” value=”‘ . __(‘Ask’,’qna-forum’) . ‘” onclick=”askquestion(\’questionform-‘ . $questionformid . ‘\’);”/></div>’;
I think there is a problem with “$questionformid”, because when i put this variable at 0 it works!
What did you think about this?
Thank you!