Hi,
I have setup URL validation for a website address through the wizard of chronoform. Unless 'http://' is entered I get the following message: 'Please enter a valid URL' - I think most non technical folks would not realise that http:// needs to be entered and would bail.
Is it possible to change the validation to be more relaxed and accepted just <!-- w --><a class="postlink" href="http://www.domainname.com">www.domainname.com</a><!-- w --> e.g. <!-- w --><a class="postlink" href="http://www.bbc.co.uk">www.bbc.co.uk</a><!-- w --> ?
Thanks
Joe
I have setup URL validation for a website address through the wizard of chronoform. Unless 'http://' is entered I get the following message: 'Please enter a valid URL' - I think most non technical folks would not realise that http:// needs to be entered and would bail.
Is it possible to change the validation to be more relaxed and accepted just <!-- w --><a class="postlink" href="http://www.domainname.com">www.domainname.com</a><!-- w --> e.g. <!-- w --><a class="postlink" href="http://www.bbc.co.uk">www.bbc.co.uk</a><!-- w --> ?
Thanks
Joe
Hi Joe,
I think that this has come up before if you search the forums. I don't remember what the answer was then I'm afraid.
You could get round this with a custom validation -- though I'm not exactly sure what you'd actually be checking for. Without the prefix it's not too easy to define a url.
Bob
I think that this has come up before if you search the forums. I don't remember what the answer was then I'm afraid.
You could get round this with a custom validation -- though I'm not exactly sure what you'd actually be checking for. Without the prefix it's not too easy to define a url.
Bob
Hi Bob,
Thanks for the swift reply. To be honest, it is not that important for me to validate the field.
However, I am not sure how you jump back into the form wizard and remove or tweak fields once they have been built - is this possible?
I have looked at the source code and removed the validate URL class but this didn't stop it validating the URL field.
Any ideas?
Thanks again,
Joe
Thanks for the swift reply. To be honest, it is not that important for me to validate the field.
However, I am not sure how you jump back into the form wizard and remove or tweak fields once they have been built - is this possible?
I have looked at the source code and removed the validate URL class but this didn't stop it validating the URL field.
Any ideas?
Thanks again,
Joe
This topic is locked and no more replies can be posted.
