Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7279 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

When my users successfully complete a form, they are taken upon "submit" to an intermediary page that tells them the form is being submitted. A tag on the page sends them a confirmatory email with the following:

<META HTTP-EQUIV="refresh" content = " 1; URL=FMPro?-db=DB_.fp5&-format=thanks.html&-mailto=[FMP-Field: Lister Email]&[email protected]&[email protected]&-mailsub=Thanks for your submission&-mailhost=server.my.com&-mailformat=mail.txt&-recid=[FMP-Currentrecid]&-Find">

This works fine so long as the user completes the form successfully before submitting. If, however, he forgets to add a required field (which are designated as required within the field list in FMP) and are redirected back to the form, the mail will sometimes not get sent when they re-submit after successfully completing the form.

Can't understand why this should make a difference. Any thoughts?

Posted

Hi Garry --

I've tried using JavaScript validation, but it had the same result. I have also tried using an "onload" code as folows:

<body onload="document.location='FMPro?-db=DB_.fp5&-format=thanks.html&-mailto=[FMP-Field: Lister Email]&[email protected]&[email protected]&-mailsub=Thanks for your submission&-mailhost=server.address.com&-mailformat=mail.txt&-recid=[FMP-Currentrecid]&-find';"></body>

Which doesn't send a mail at all. Probably my fault.

This is a weird error. The meta tag method above works fine, when it works. Sometimes it does, sometimes it doesn't. I think it relates to the user being redirected after a failed validation, but even then it sometimes sends a mail.

This topic is 7279 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.