November 14, 201610 yr Hello, We have a form running which is working well with our clients. It has various drop downs and a captcha script. For just one of the drop downs the boss requires that this must be activated / changed before the form can be submitted. I have looked at various options and tried a number of scripts but none seem to stop the form being submitted. I am happy to share the html code if needed. I would be grateful for some further ideas. Thankyou Regards Neil
November 14, 201610 yr How are you validating the form? All you need to do is add a check to the validation to confirm at least on option has been selected. The actual code you use depends on how the form is validated.
November 14, 201610 yr Author Thanks for coming back so quickly! The drop down is for the named geographical area the customer lives in. Last week we had a number of people using the form who did not live in the areas we serve and so did not use this drop down. We are now working on the idea that if they can't complete an area we serve, they can't complete the form. So in answer to your question would it be an entry, or a change is needed? I am a little bit baffled by this but I am pretty certain it can be done. Thankyou Neil
November 14, 201610 yr The form is fine - it's the validation that needs sorting. Need to see the site to offer more help as any advice depends on the contact form you are using. If you want to keep it private you can send the URL in a PM. However.... Lets suppose Bob wants to use your services and is not in the list of places but is in fact closer than someone in the opposite direction. Making the dropdown mandatory means you have now lost a potential customer.
November 14, 201610 yr Author Hello, Sorry about the delay. I have tried 5 or 6 pieces of script for this and have cleared each one after trying them. I can send you a link to the form and provide the html as needed. You make an interesting point about the required drop-down. This a new business which is in the centre of the delivery area and has little or no leeway to extend further at this stage. For the limited time they are open they are flat-out and so cannot cope with, and are not looking for extra business outside their given area. Thanks Neil
November 14, 201610 yr Author Thanks for the help. I had overlooked that option needed to be empty as in "" Working now. Neil
Create an account or sign in to comment