ASP required and regular expression validation doesn't work in mojoportal server

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/9/2013 2:48:07 AM
Gravatar
Total Posts 22

ASP required and regular expression validation doesn't work in mojoportal server

Hi

I developed a feature,in that i have used required field and regular expression validation for the controls.I tested this feature in local system by hosting it in IIS server.It works well.But when i hosted in remote server which is a mojoportal server validation doesn't works well.The form get submitted without validating it and after submit message has displayed ,validation message also displayed.

Please help me to solve this problem.

Thank you

 

4/9/2013 6:55:01 AM
Gravatar
Total Posts 18439

Re: ASP required and regular expression validation doesn't work in mojoportal server

look for javascript errors in the page

4/10/2013 6:16:17 AM
Gravatar
Total Posts 22

Re: ASP required and regular expression validation doesn't work in mojoportal server

Thanks for your reply Joe.

    I given space between the setting key that's why i got this problem. Now it's working fine.

    var ctl00_mainContent_uc89Sermon Settings_reqTitle = document.all ? document.all["ctl00_mainContent_uc89Sermon Settings_reqTitle"] : document.getElementById("ctl00_mainContent_uc89Sermon Settings_reqTitle");

You must sign in to post in the forums. This thread is closed to new posts.