Complex Custom Fields For Wordpress Woocommerce with Ajax Checking
Budget: $30 – $250 NZD
We run a Wordpress multisite network that allows users to set up a subdomain through our site. We process payments through Woocommerce. We would like the following to be created so we can place this in our functions.php file.
WHAT WE REQUIRE
1. A custom text field to input a Site Title
- This will be a required field
- If no site title is entered on checkout the following error code will appear “Please enter a Site Title”
2. A custom text field to input a SITE ADDRESS (URL)
- This will be a required field.
- This field will mimic the add a site page (wp-admin/network/site-new.php) SITE ADDRESS (URL).
- The text box will need to be followed by the following: .example.com
- It will require the following description below the text box: Only lowercase letters (a-z), numbers, and hyphens are allowed. Minimum of three characters.
- If no site address is entered on checkout the following error code will appear “Please enter a Site Address”
- The text box will have checking to ensure only lowercase letters (a-z), numbers, and hyphens are used and there is a minimum three characters. If an invalid site address is entered on checkout the following error code will appear “Only lowercase letters (a-z), numbers, and hyphens are allowed. Minimum of three characters”
-For this field, we require you to build live ajax check to test if the domain exists in real time and all requirements are met.
o The following ajax alert to appear if less then 3 characters are entered “Please enter 3 characters”
o The following ajax alert to appear if invalid characters are used ie. Not lowercase, numbers or hyphens “Please only use lowercase letters (a-z), numbers, and hyphens”
o It should show “Site free” if no domain exists and the following error if the domain exists “Sorry that site already exists!”.
WHAT WE REQUIRE
1. A custom text field to input a Site Title
- This will be a required field
- If no site title is entered on checkout the following error code will appear “Please enter a Site Title”
2. A custom text field to input a SITE ADDRESS (URL)
- This will be a required field.
- This field will mimic the add a site page (wp-admin/network/site-new.php) SITE ADDRESS (URL).
- The text box will need to be followed by the following: .example.com
- It will require the following description below the text box: Only lowercase letters (a-z), numbers, and hyphens are allowed. Minimum of three characters.
- If no site address is entered on checkout the following error code will appear “Please enter a Site Address”
- The text box will have checking to ensure only lowercase letters (a-z), numbers, and hyphens are used and there is a minimum three characters. If an invalid site address is entered on checkout the following error code will appear “Only lowercase letters (a-z), numbers, and hyphens are allowed. Minimum of three characters”
-For this field, we require you to build live ajax check to test if the domain exists in real time and all requirements are met.
o The following ajax alert to appear if less then 3 characters are entered “Please enter 3 characters”
o The following ajax alert to appear if invalid characters are used ie. Not lowercase, numbers or hyphens “Please only use lowercase letters (a-z), numbers, and hyphens”
o It should show “Site free” if no domain exists and the following error if the domain exists “Sorry that site already exists!”.