diff --git a/booking.regn_form.inc b/booking.regn_form.inc
index 17eb45e..3264dde 100644
--- a/booking.regn_form.inc
+++ b/booking.regn_form.inc
@@ -955,10 +955,14 @@ function booking_earlyaccess_feedback_callback($form, &$form_state) {
':eid' => $event->eid,
)
)->fetchObject();
- //see if we got a result
+ //no matching code found so return an error
if (! $code_check) {
return '
You have entered an invalid early registration code. If you do not have a code, please wait until normal registrations open.
';
}
+ //matched a code so let the user know everything is fine
+ else {
+ return 'Your early registration code has been validated.
';
+ }
}
else {
return 'You must enter an early access code to register now. If you do not have a code, please wait until normal registrations open.
';