Hi again
Im trying to make the other imfo prompt optional.
I have found in the knowledge base the following:
This prompt can be made optional by editing one of the perl scripts.
- Locate the file ActinicOrder.pm in the site folder.
- Edit the file with a text editor such as Notepad.
- Search for "sub InfoValidate", you should see…
if (length $sInfo == 0)
{
$sMessage .= ACTINIC::GetPhrase(-1, 55, "<B>$sPrompt</B>") . "<P>\n";
}
elsif (length $sInfo > 1000)
- Comment out the first 4 lines (using #) and change the last line so that the code reads as
#if (length $sInfo == 0)
# {
# $sMessage .= ACTINIC::GetPhrase(-1, 55, "<B>$sPrompt</B>") . "<P>\n";
# }
if (length $sInfo > 1000)
- Save and exit.
- Update the site.
I have found the file I need to change but can you tell me exactly where I need to 'comment out' and insert the new html?
Thank you
Im trying to make the other imfo prompt optional.
I have found in the knowledge base the following:
This prompt can be made optional by editing one of the perl scripts.
- Locate the file ActinicOrder.pm in the site folder.
- Edit the file with a text editor such as Notepad.
- Search for "sub InfoValidate", you should see…
if (length $sInfo == 0)
{
$sMessage .= ACTINIC::GetPhrase(-1, 55, "<B>$sPrompt</B>") . "<P>\n";
}
elsif (length $sInfo > 1000)
- Comment out the first 4 lines (using #) and change the last line so that the code reads as
#if (length $sInfo == 0)
# {
# $sMessage .= ACTINIC::GetPhrase(-1, 55, "<B>$sPrompt</B>") . "<P>\n";
# }
if (length $sInfo > 1000)
- Save and exit.
- Update the site.
I have found the file I need to change but can you tell me exactly where I need to 'comment out' and insert the new html?
Thank you
Comment