An unexpected error has occurred!
Error Message:Invalid data extension reference. No data extension was found with the specified name Data Extension Name: Lapsing Landing Page Final Client ID: 1062761 Parameter Name: customObjectName Line: 464 Char: 8 return this._namesFromKeys[k.toLowerCase()]
 
Description:An unexpected error occurred during the execution of the page.
 
line 0, column 0
Exception Info:
An error occurred when attempting to execute a Javascript block. See inner exception for detail.
  Script: 
    Platform.Load( 'Core', '1' );

    var numberOfAnswers   = [ 6, 5, 6 ];
    var numberOfQuestions = 3;
    var errors            = {};
    var validationError   = false;
    var submitted         = false;

    Variable.SetValue( 'numberOfAnswers', numberOfAnswers );
    Variable.SetValue( 'numberOfQuestions', numberOfQuestions );

    var Lapsing = {

        init : function()
        {
            // localisation
            this.localisation();

            // testing
            if (!Variable.GetValue('subscriberKey')) {
                this.test();
            }

            // validation
            this.validation();
        },

        test : function()
        {
            // TEST Only
            Variable.SetValue( 'subscriberKey', 'myTestingSubKey3' );
            Variable.SetValue( 'userEmail', 'nicolas_gutierrez@scee.net' );
            Variable.SetValue( 'jobID', '125125125' );
            Variable.SetValue( 'handle', 'nic' );
        },

        localisation : function()
        {
            // loading localisation
            Variable.SetValue( 'copyPrefix', '' );
            Variable.SetValue( 'copyLocation', 'My Contents\\Landing pages\\2015\\lapsing_landing_page' );
            Write( Platform.Function.ContentAreaByName( 'My Contents\\Landing pages\\Localisation\\Localisation' ) );
        },

        validation : function()
        {
            var DE = DataExtension.Init( 'Lapsing Landing Page Final' );
            var rows = DE.Rows.Lookup( [ 'SubscriberKey' ], [ Variable.GetValue( 'subscriberKey' ) ], 1 );

            if( rows.length >= 1 )
            {
                // setting default values
                Variable.SetValue( 'submitted', true );

                return;
            }

            var data = {
                SubscriberKey : Variable.GetValue( 'subscriberKey' ),
                EmailAddress  : Variable.GetValue( 'userEmail' ),
                Locale        : Variable.GetValue( 'locale' ),
                JobId         : Variable.GetValue( 'jobID' ),
                handle        : Variable.GetValue( 'handle' )
            };

            // setting default values
            Variable.SetValue( 'submitted', false );

            // form validation
            if( Platform.Request.GetFormField( 'save' ) )
            {
                var i = 0;

                for( i = 0; i < numberOfQuestions; i++ )
                {
                    var y = 0;

                    for( y = 0; y < numberOfAnswers[ i ]; y++ )
                    {
                        var qNumber   = i + 1;
                        var aNumber   = y + 1;
                        var inputName = 'q' + qNumber + '_a' + aNumber;
                        var value     = Request.GetFormField( inputName );

                        if( !value )
                        {
                            validationError     = true;
                            errors[ inputName ] = true;
                        }
                        else
                        {
                            data[ inputName ] = value;
                        }
                    }
                }

                Variable.SetValue( 'validation_error', validationError );

                if( !validationError )
                {
                    Variable.SetValue( 'submitted', true );
                    DE.Rows.Add( data );
                }
            }
        }
    };

Lapsing.init();

  ListID: 13
  Index: 5


Jint.JintException:  Invalid data extension reference. No data extension was found with the specified name
  Data Extension Name: Lapsing Landing Page Final
  Client ID: 1062761
  Parameter Name: customObjectName

Line: 464 Char: 8
return this._namesFromKeys[k.toLowerCase()]
Source:  Jint