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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Getting An Error Only With DNN for form validation scriptGetting An Error Only With DNN for form validation script
Previous
 
Next
New Post
11/24/2009 5:47 AM
 

Hi

I found some unique error only with DNN, annoying my development experience. these days I used to work with omniture field validation. these validation code works perfect with asp.net sites, php oriented site and with plan html. but throwing an error only with dnn enviornment, i am so much dissapointed... I have spent more than 12 working days but nothing helpfull, still suffering...

here is my problem:

client wants me to add omniture tagging for reporting purposes.

s.sendformEvent() is called from external js file.

Javascript Syntax: index.html

function Webform_OnSubmit()

var fname = document.getElementById('dnn_ctr1277_formMaster_ctl_9b77e0721bbe4452b169c7b5b87c9977').value;
    //--- First Name ---
    if(fname=='') {
        efore Calling s.sendformEvent()')
        s.sendformEvent('e','Collateral: Collateral Request: form','Collateral Request form','First Name: No Value');
        s.sendformEvent('e','Contact Us','Contactform', 'First Name: No Value');
        After Calling s.sendformEvent()')
        return false
        }
}

Function Declaration in external js file

s.sendformEvent=new Function("t","pn","fn","en","" . etc.

Note: if I can create my own form tag, it might work...

Please help me to resolve this problem

Regards
Ahamed


 
New Post
11/24/2009 2:21 PM
 

And the error you get is...?

Jeff

 
New Post
11/26/2009 10:41 PM
 

Error : s.sendformEvent() is not a function.

Regards
Ahamed

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Getting An Error Only With DNN for form validation scriptGetting An Error Only With DNN for form validation script


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