So I got this small script –
if (isset($_POST['submit']) && $_POST['description'] == '')
{
echo '<strong><font color="Red" size="2">REQ!</font></strong>';
}
else
{
echo '';
}
But it is not showing up after submit button has been pressed and if description is empty. All of the input names are correct, any help would pe appreciated, cause I just somehow can’t find answer to this easy question.
Best regards,
Valters
Your code works for me…
Please verify that
$placeadd->translate('required')actually returns a string value. If it doesn’t, or returns an empty string, you won’t see any result unless you view the source of the code.