I have 2 functions that are not working- one is for validating credit cards and the other is one that requires at least one textbox or check box be selected form a specific group.
The one for validating credit cards is called:
function isValidCreditCard(type, ccnum)
I only need it to validated Visa & Mastecard credit cards and I got it online from another website.
The other function for validated a specific group of inputs is called:
function checkOne()
I've been working on it with another tech but only the function not the whole form...I was hoping another set of eyes might point me in the right direction to get it working.
Basically for this particular function if the inputs named
['Paint_Color', 'LtsandMaskPaintLOA', 'CleanWaxLOA', 'CleanCompoundWaxHullLOA','TEDetailHullTopsidesLOA','BoatWashLOA','InteriorCleanLOA','SPSRC_checkbox_1','SPSRC_checkbox_2','SPSRC_checkbox_3','SPSRC_checkbox_4','SPSRC_checkbox_5','SPSRC_checkbox_6','SPSRC_checkbox_7','Just_Launch'];
are not selected then I would like either the tooltip validation for 'Just_Launch' to activate or an alert
The 'Just_Launch' check box must be selected if the others listed aren't. But if one of the others are then it should validate true.
Right now neither function is working... I hope you can help me