NetTalk Central

Author Topic: CSS Required Field  (Read 59 times)

broche

  • Sr. Member
  • ****
  • Posts: 317
    • View Profile
    • Email
CSS Required Field
« on: December 08, 2018, 04:43:19 AM »
CL 11
NT 11.04
Theme Base

Pop Up Form on Insert all works well except
Leave a required field blank and save the record  the screen drops all tabs and exposes the menu at the top of the form.
See image

Have added 'effect: "slide",duration: 500' to open and close for this popup

Does not happen on Update

The sequence of steps to produce this effect are:
1) Insert new record
2) Choose customer from a lookup
3) Upload a file
4) DO NOT fill in patient name (required field)
5) Click Save
See Image

If I do not upload a file then the record warns me of required field correctly.

Brian.
Brian

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9320
    • View Profile
Re: CSS Required Field
« Reply #1 on: December 09, 2018, 10:49:26 PM »
Some sort of JavaScript error in play here I think.
I suggest posting an example to duplicate it so I can try here.
Or check the browser console for more information on the JavaScript error.

cheers
Bruce

broche

  • Sr. Member
  • ****
  • Posts: 317
    • View Profile
    • Email
Re: CSS Required Field
« Reply #2 on: December 10, 2018, 01:48:56 AM »
OK Attached Web26.app
made 'base' the theme
Made the description field required on mailbox form
uploaded a file
saved record
Looks odd

Brian.
Brian

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9320
    • View Profile
Re: CSS Required Field
« Reply #3 on: December 11, 2018, 06:28:22 AM »
Hi Brian,

um - not sure you uploaded the right example. Form wasn't a popup - so maybe you posted before saving the app?
I followed your instructions (after setting the form as a popup) but it seemed ok....
Maybe Ctrl-F5 in your browser?

cheers
Bruce