Disable submit button on Paid Event form (Ubercart)

I have a website where parents can register their children for a sport. The sport has Divisions which are dictated by the age of the child registering.

I am using uc_event_registration to accomplish this.

When a parent selects a Division to register their child for, I have a node reference added that only displays the children that belong to them that are eligible for that Division. When they don't have any children eligible for the Division and that field is returned empty, I need 1 of 2 things to happen:

Disable the Submit button and display a message that they need to return to the previous page to select the correct Division


Automatically redirect back to the previous page so they can select the correct Division.

I need this done today.

Skills: Drupal

See more: c# submit, Sport event, drupal node form, page event website, drupal redirect page, drupal node page, drupal submit, drupal button, node form, form submit page, event page, drupal reference, disable button, register paid, paid message, submit message, drupal submit event, drupal event website, drupal redirect, parent website, done paid, paid drupal, ubercart form, submit redirect, paid submit

About the Employer:
( 2 reviews ) Plainfield, United States

Project ID: #1278614

Awarded to:


i can do it. i'm ready to begin now.

$70 USD in 0 days
(154 Reviews)

2 freelancers are bidding on average $138 for this job


Drupal expert here, looking forward to finish this in a day.

$205 USD in 1 day
(41 Reviews)