Title field a problem in Name questions

adoucette
adoucette
  • adoucette
  • 9 months ago

When I put a "Name" type question into a survey, and set it as mandatory, the "Title" field is also required. This causes many of my users to have an error when they submit their survey.

How can I either 1) make the Title field of the Name question optional (preferred) or 2) remove the Title field from the Name question?

I have tried the solution proposed by Maverick below, but this does not work. The title field is still present after the edit.

 Maverick wrote:Edit components/com_communitysurveys/helpers/formfields.php and find below function

get_user_name_question

and remove below code

$html .= '<div class="question-title qtype-'.$item->question_type.'"><i class="icon icon-hand-right"></i> '.CJFunctions::escape($item->title).'</div>';

Access to viewing replies is restricted.
Showing 3 of 3 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai