Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIhow to insert simple javascript validation with dotnetnuke 4.0.2how to insert simple javascript validation with dotnetnuke 4.0.2
Previous
 
Next
New Post
4/10/2006 6:22 AM
 

Hello

I am using dotnetnuke 4.0.2. Now i want to write a javascript code to validate my enteries and i m not using Regular Expressions. How do i register the javascript to work in DotNetNuke 4.0.2.

Can some one help. Its really urgent and i have stuck up.

regards

Hardik shah

 

 
New Post
4/10/2006 9:10 AM
 
I am a little confused on what you want to validate.   Are you talking about validating some fields in your own custom module?  If so, then simply add an event handler for the onclick of the button doing the submit/save in your module that references your validation javascript routine.

 
New Post
4/10/2006 9:50 AM
 

Thanks for an reply.

Now i would like to put you the exact scenerio.

I have added the following in the code i.e. page load event of the page.

btnSubmi.Attributes.Add("onclick"," Validate();return blnValidate();")

On the client side there is a javascript function "Validate()". Now this works properly in normal condition.

Now the actual problem starts.

I am deploying the DotNetNuke application, but after successfull deployment of the application, none of my javascript are working. Not even a single javascript function is working. It behaves as if no javascript code is written.

Am i making my self clear.

Do reply.

 
New Post
4/10/2006 3:46 PM
 
if it works locally and not on a different server, the only answer would be that there is something configured differently on that server.  As to what that is I don't know.

 
New Post
4/11/2006 1:06 AM
 

Thanks for the reply again

but the thing is that if i configure the complete code, it works properly, this is a problem only in the case of deployment. The same server if i copy the complete source, the javascript works, but after deploying the application on the server, the javascript code does not work.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIhow to insert simple javascript validation with dotnetnuke 4.0.2how to insert simple javascript validation with dotnetnuke 4.0.2


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out