good day.let's say i have the same id, where do i insert the sample

  • Profile Image
    rabelardo
    Asked on May 23, 2011 at 10:35 PM
    good day.

    let's say i have the same id, where do i insert the sample script:


    document.getElementById('input_5').value=location.href;


    if i use the embed source code for joomla; such as this:



    thanks.

    This is a re-post of a comment on Finding The HTTP Page From Which A Submission Came

  • Profile Image
    NeilVicente
    Answered on May 24, 2011 at 05:02 AM

    Hi,

    Please use the source code when embedding your form, to use the method in that user guide:

    Insert this code right after the </form> tag:

    <script>
    document.getElementById('input_5').value=location.href;
    </script>

    Alternatively, you may follow the instructions in this thread for an easier way to tell where a submission came from.

    Let me know how these solutions work for you. I'll gladly await your response. Thank you.


    Neil