I didn't set any key values to the button. When i'm in textfield and press enter, screen getting reload and in URL its shows like this (http://localhost:93/Content/BoxScan.html?BoxIdTextField=zipcode). whatever i typed in textbox its shows in the URL.

asked 30 May, 10:03

GowthamR's gravatar image

GowthamR
21237
accept rate: 0%

edited 30 May, 10:05


This is a known bug and will be fixed in the next version. Meanwhile please update Form.js in the Library GraphiteGTC.Core with the following:

Add the following lines:

    // Stop form from submitting by default, we handle that
    Events.On(document.body, 'submit', '#' + form.Name,
        function (event) {
            event.preventDefault();
            event.stopPropagation();
        }
    );

below the lines:

    // Form</>
    formMarkup += '</form>';

in the JS Script method named Form.Render

link

answered 04 Jun, 15:27

ChrisG's gravatar image

ChrisG
1001k446470
accept rate: 59%

Ok thanks, its working.

link

answered 05 Jun, 07:46

GowthamR's gravatar image

GowthamR
21237
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1
×1

Asked: 30 May, 10:03

Seen: 123 times

Last updated: 05 Jun, 07:46

Related questions

Powered By:   Graphite