Skip to main content
added missing tags, formatted error message, capitalization
Source Link
mickmackusa
  • 4.8k
  • 4
  • 18
  • 48

I have created a search form with RSForm Pro, unfortunately it isn't working.

The concept is to do a TAG Search all the Fields of the Form (Select and Radio) have values which are part of a URL which has to be build when you press on "suchen" (Fields are depending on each other and the button will only show up when all steps have been completed).

I am using this code trying to accomplish this:

function suchen() {
    var URLBase = "http://ego.pc-helfer.eu/index.php?option=com_tags&view=tag";
    var TrailingFixedData = "&types[0]=1";

    finalURL = URLBase + document.getElementsByClassName('value1').value +
    document.getElementsByClassName('value2').value +         
    document.getElementsByClassName('value3').value + 
    document.getElementsByClassName('value4').value + 
    document.getElementsByClassName('value5').value + TrailingFixedData;
}

But when iI press "suchen" the Chrome console tells me:
Uncaught ReferenceError: suchen is not defined

Uncaught ReferenceError: suchen is not defined

I can see the script is being loaded, but iI still get this message.
url

url of the Sitesite: http://ego.pc-helfer.eu/produktsuche/substrattkompass

I have created a search form with RSForm Pro, unfortunately it isn't working.

The concept is to do a TAG Search all the Fields of the Form (Select and Radio) have values which are part of a URL which has to be build when you press on "suchen" (Fields are depending on each other and the button will only show up when all steps have been completed).

I am using this code trying to accomplish this:

function suchen() {
    var URLBase = "http://ego.pc-helfer.eu/index.php?option=com_tags&view=tag";
    var TrailingFixedData = "&types[0]=1";

    finalURL = URLBase + document.getElementsByClassName('value1').value +
    document.getElementsByClassName('value2').value +         
    document.getElementsByClassName('value3').value + 
    document.getElementsByClassName('value4').value + 
    document.getElementsByClassName('value5').value + TrailingFixedData;
}

But when i press "suchen" the Chrome console tells me:
Uncaught ReferenceError: suchen is not defined

I can see the script is being loaded but i still get this message.
url of the Site: http://ego.pc-helfer.eu/produktsuche/substrattkompass

I have created a search form with RSForm Pro, unfortunately it isn't working.

The concept is to do a TAG Search all the Fields of the Form (Select and Radio) have values which are part of a URL which has to be build when you press on "suchen" (Fields are depending on each other and the button will only show up when all steps have been completed).

I am using this code trying to accomplish this:

function suchen() {
    var URLBase = "http://ego.pc-helfer.eu/index.php?option=com_tags&view=tag";
    var TrailingFixedData = "&types[0]=1";

    finalURL = URLBase + document.getElementsByClassName('value1').value +
    document.getElementsByClassName('value2').value +         
    document.getElementsByClassName('value3').value + 
    document.getElementsByClassName('value4').value + 
    document.getElementsByClassName('value5').value + TrailingFixedData;
}

But when I press "suchen" the Chrome console tells me:

Uncaught ReferenceError: suchen is not defined

I can see the script is being loaded, but I still get this message.

url of the site: http://ego.pc-helfer.eu/produktsuche/substrattkompass

added 58 characters in body
Source Link
Lodder
  • 26.9k
  • 3
  • 48
  • 94

I have created a search form with RSForm Pro, unfortunately it isn't working.

The concept is to do a TAG Search all the Fields of the Form (Select and Radio) have values which are part of a URL which has to be build when you press on "suchen" (Fields are depending on each other and the button will only show up when all steps have been completed).

I am using this code trying to accomplish this:


function suchen() { var URLBase = "http://ego.pc-helfer.eu/index.php?option=com_tags&view=tag"; var TrailingFixedData = "&types[0]=1";

finalURL = URLBase + document.getElementsByClassName('value1').value + document.getElementsByClassName('value2').value + document.getElementsByClassName('value3').value + document.getElementsByClassName('value4').value + document.getElementsByClassName('value5').value + TrailingFixedData; }

function suchen() {
    var URLBase = "http://ego.pc-helfer.eu/index.php?option=com_tags&view=tag";
    var TrailingFixedData = "&types[0]=1";

    finalURL = URLBase + document.getElementsByClassName('value1').value +
    document.getElementsByClassName('value2').value +         
    document.getElementsByClassName('value3').value + 
    document.getElementsByClassName('value4').value + 
    document.getElementsByClassName('value5').value + TrailingFixedData;
}

But when i press "suchen" the Chrome console tells me:
Uncaught ReferenceError: suchen is not defined

I can see the script is being loaded but i still get this message.
url of the Site: http://ego.pc-helfer.eu/produktsuche/substrattkompass

I have created a search form with RSForm Pro, unfortunately it isn't working.

The concept is to do a TAG Search all the Fields of the Form (Select and Radio) have values which are part of a URL which has to be build when you press on "suchen" (Fields are depending on each other and the button will only show up when all steps have been completed).

I am using this code trying to accomplish this:


function suchen() { var URLBase = "http://ego.pc-helfer.eu/index.php?option=com_tags&view=tag"; var TrailingFixedData = "&types[0]=1";

finalURL = URLBase + document.getElementsByClassName('value1').value + document.getElementsByClassName('value2').value + document.getElementsByClassName('value3').value + document.getElementsByClassName('value4').value + document.getElementsByClassName('value5').value + TrailingFixedData; }


But when i press "suchen" the Chrome console tells me:
Uncaught ReferenceError: suchen is not defined

I can see the script is being loaded but i still get this message.
url of the Site: http://ego.pc-helfer.eu/produktsuche/substrattkompass

I have created a search form with RSForm Pro, unfortunately it isn't working.

The concept is to do a TAG Search all the Fields of the Form (Select and Radio) have values which are part of a URL which has to be build when you press on "suchen" (Fields are depending on each other and the button will only show up when all steps have been completed).

I am using this code trying to accomplish this:

function suchen() {
    var URLBase = "http://ego.pc-helfer.eu/index.php?option=com_tags&view=tag";
    var TrailingFixedData = "&types[0]=1";

    finalURL = URLBase + document.getElementsByClassName('value1').value +
    document.getElementsByClassName('value2').value +         
    document.getElementsByClassName('value3').value + 
    document.getElementsByClassName('value4').value + 
    document.getElementsByClassName('value5').value + TrailingFixedData;
}

But when i press "suchen" the Chrome console tells me:
Uncaught ReferenceError: suchen is not defined

I can see the script is being loaded but i still get this message.
url of the Site: http://ego.pc-helfer.eu/produktsuche/substrattkompass

Source Link
Loading