diff options
author | Jos Poortvliet <jospoortvliet@gmail.com> | 2020-12-18 22:04:52 +0300 |
---|---|---|
committer | Jos Poortvliet <jospoortvliet@gmail.com> | 2020-12-18 22:05:14 +0300 |
commit | a93c9d2fe2ec26ea1d29226837c76c57f5560905 (patch) | |
tree | 2ae84352d86827efe1750238e4f78776c06a7920 /page-whitepaper-submit.php | |
parent | 13c4fdbbbe14ca8dbb96255cb4a71081f97da433 (diff) |
implement pricing page feedback
Signed-off-by: Jos Poortvliet <jospoortvliet@gmail.com>
Diffstat (limited to 'page-whitepaper-submit.php')
-rw-r--r-- | page-whitepaper-submit.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/page-whitepaper-submit.php b/page-whitepaper-submit.php index 1ba5621e..69d60e0d 100644 --- a/page-whitepaper-submit.php +++ b/page-whitepaper-submit.php @@ -46,7 +46,7 @@ try { } $email_to = filter_var($_POST['email'], FILTER_SANITIZE_EMAIL); if(!filter_var($email_to, FILTER_VALIDATE_EMAIL)) { - throw new HintException('The email address supplied is invalid.'); + throw new HintException('The email address is invalid or missing.'); } $newsletter = (int)$_POST['moreinfo']; $whitepaper_nr = (int)$_POST['segmentId']; @@ -116,10 +116,9 @@ try { ?> <section class="section--whitepaper"> <div class="container text-center"> - <h3>Sorry, there was an error with the form you submitted</h3> - <p>Did you fill in all mandatory fields?<br /> - The error(s) detected include:<br/> - <?php echo htmlentities($e->getHint()); ?> + <p>Sorry, there was an error with the form you submitted.<br /> + The error(s) detected:<br/> + <h3><?php echo htmlentities($e->getHint()); ?></h3> </p> <p>Please use the back key to go to <br/>the previous page and fix the issue, or <br /> <a href="https://nextcloud.com/contact">contact us with the error message.</a></p> </div> |