NetTalk Central

Author Topic: Issues with forms in popup mode and IE8.  (Read 3352 times)

JPMacDonald

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • Email
Issues with forms in popup mode and IE8.
« on: July 19, 2011, 03:55:50 PM »
Bruce:

Web pages using popup forms can still be problematic in specific environments, mine being IE8 and MSSQL2008.

I am currently running into three problems:

1. When setting the action for after a Webform’s data is saved to: Insert Another, if the form is in popup mode then it always returns to the WebBrowse procedure, this seems to be true for all the browsers I tried, IE8, FF, and Opera. This may be  a case of the documentation needs to be changed (feature does not work in popup mode) and not a bug, if so I can live with that.

2. I have a lookup issue when using a popup form and the lookup field is set to: Force user to use lookup, the field is essentially read-only and the user has to click on the lookup button to select a valid value from a table. In IE8 if I backspace within the field it blows out the browser giving an immediate page has expired message, in FF it is ok as the backspace doesn’t seem to do anything in the field.

You can see the effect here if you like: http://faculty.cbu.ca/pmacdonald/NT5/NTLookup

(Username and password are both: public)

3. Again using IE8 and accessing a SQL2008 backend (TPS seems to be fine) and the form is in popup mode, after opening and canceling the form a few times (not always consistent sometimes twice and sometimes 4 or 5 tries before it happens) the browse will “forget” how many records are available and start to remove navigation buttons and eventually report that there are no records to be displayed. The effect is seems more pronounced in Opera (v11.10) in that it happens on the very first open and cancel sequence. FF does not seem to have a problem with it at all.

You can see the effect here if you like: http://faculty.cbu.ca/pmacdonald/NT5/IE8_SQL

(Username and password are both: public)

It is these numerous combination of browsers and database backends that make developing for the web such a challenge, hats off to you for your patience!

Regards

Parker

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Issues with forms in popup mode and IE8.
« Reply #1 on: July 19, 2011, 09:29:57 PM »
Hi Parker,

aside - it's usually easier to rather do one topic per post, and do 3 posts, than put 3 things in one post. It will make following the answers easier, and also make searching easier for others.

Question 1;

>> 1. When setting the action for after a Webform’s data is saved to: Insert Another, if the form is in popup mode then it always returns to the WebBrowse procedure, this seems to be true for all the browsers I tried, IE8, FF, and Opera. This may be  a case of the documentation needs to be changed (feature does not work in popup mode) and not a bug, if so I can live with that.

This looks like a bug - or more accurately an "overlooked" bit of functionality to support in popup mode. I'll put it on my list. Thanks for the report.


Cheers
Bruce

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Issues with forms in popup mode and IE8.
« Reply #2 on: July 19, 2011, 10:01:25 PM »
Question 2:

When you press a backspace on a page in IE, the "back" button is pressed. By design (I kid you not) in IE, when you press a backspace on a field that can't handle it (like say a checkbox, or a read-only input field) then the default behaviour is to press the "Back" button.

I've added some JavaScript though in 5.31 which will suppress this behaviour on read-only input fields.

Cheers
Bruce

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Issues with forms in popup mode and IE8.
« Reply #3 on: July 19, 2011, 10:05:51 PM »
Question 3:

the key thing here is to know the filter you are using on the browse.
So
a) Paste the filter in here, from the template.

and
b) Which build of NetTalk are you using?

cheers
Bruce

JPMacDonald

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • Email
Re: Issues with forms in popup mode and IE8.
« Reply #4 on: July 20, 2011, 03:38:02 AM »
Bruce:

This a an unfiltered page loaded browse.

Using NT version 5.30

Parker