Hi avfguy,
thanks for your reply. However, you've got me somewhat confused. When I select my form, click on edit form and then on scripts and custom in submitted scripts I read the below code:
function ff_lid_worden_submitted(status, message)
{
switch (status) {
case FF_STATUS_OK:
// do whatever desired on success
break;
case FF_STATUS_UNPUBLISHED:
case FF_STATUS_SAVERECORD_FAILED:
case FF_STATUS_SAVESUBRECORD_FAILED:
case FF_STATUS_UPLOAD_FAILED:
case FF_STATUS_ATTACHMENT_FAILED:
case FF_STATUS_SENDMAIL_FAILED:
default:
alert(message);
} // switch
} // ff_lid_worden_submitted
Next, I click on create code framework and it just copies the above code.
I have tried to enter my message "bericht verstuurd" instead of message, and instead of alert and after the ; following alert (message);
Again and again it corrupted the script, so surely I am still doing something wrong.
Would you please show me how the code should look?
Is there also a possibility to enter a code which returns the visitor to the homepage after submitting?
Thanks in advance.
Regards,
snelsnel.