Cynthia, I just saw your comment today. I don't know why I didn't receive an email notification. The code that I am using is dependent on the skin selected, although it should be easy to modify. If it doesn't work out-of-the-box, then you can let me know and I'll be happy to provide further assistance. I will need to know the skin you are using for your site, though.
The code is based on jQuery being available on your site, as well. If you are using any of the responsive skins, it should already be available. What the code does is to find the input fields with an ID of txtCustomName and set the required property to true. You need to put this in the site's Settings -> SEO/HTML -> HTML content for top of <body> section:
When we encounter this need for a customer, we place custom JavaScript in the product description to execute a function defined in the Site Settings -> SEO / HTML -> HTML content for top of <body> section.
It does get the job done, but it is a bit of a hassle.
If you would like the JavaScript to use I will be happy to provide it.
I forgot about removing the word "OPTIONAL". Add the following line immediately below the line beginning with $(function() {:
$('h4.renameItemHeading.pricingHeading').text('NAME YOUR JOB');
Feel free to change the text "NAME YOUR JOB" to whatever you want to appear.
Cynthia, I just saw your comment today. I don't know why I didn't receive an email notification. The code that I am using is dependent on the skin selected, although it should be easy to modify. If it doesn't work out-of-the-box, then you can let me know and I'll be happy to provide further assistance. I will need to know the skin you are using for your site, though.
The code is based on jQuery being available on your site, as well. If you are using any of the responsive skins, it should already be available. What the code does is to find the input fields with an ID of txtCustomName and set the required property to true. You need to put this in the site's Settings -> SEO/HTML -> HTML content for top of <body> section:
</script>
$(function() {
$('input#txtCustomName').prop('required',true);
});
</script>
Hi Jim, We would be interested in your java script, can you please send to me?
When we encounter this need for a customer, we place custom JavaScript in the product description to execute a function defined in the Site Settings -> SEO / HTML -> HTML content for top of <body> section.
It does get the job done, but it is a bit of a hassle.
If you would like the JavaScript to use I will be happy to provide it.