"*Required field" message not displaying

Permalink Browser Info Environment
How to display a message for *required fields at the bottom of the form (or somewhere on the form)?

Is there a way to display that text automatically (if I create add *required items to my extended form)?

Type: Discussion
Status: New
invision
View Replies:
DeWebmakers replied on at Permalink Reply
DeWebmakers
Hi,

Open the file survey.php in the models directory of the addon.

Go to line 260 and add the following above the submit button content...

echo '<div class="formBlockSurveyRow">'."\n";
echo '<div class="formBlockSurveyCell question"></div>'."\n";
echo '<div class="formBlockSurveyCell answer">'.t('*) Required fields').'</div>';
echo '</div>'."\n\r";


Save and upload!

Regards,

Corretje
invision replied on at Permalink Reply
invision
Are you planning to add this to the next update? I don't want to mess with core code if I don't have to.

I ended up just adding a text item to the bottom of the form block with that text on it.
DeWebmakers replied on at Permalink Reply
DeWebmakers
Sure! I'll change this with the next update.

Thank you...

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.