NetTalk Central

Author Topic: NetWebPage contaning a NetWebForm - how to get the action right  (Read 3912 times)

Thys

  • Sr. Member
  • ****
  • Posts: 311
    • View Profile
    • Incasu
    • Email
NetWebPage contaning a NetWebForm - how to get the action right
« on: September 22, 2016, 10:59:17 PM »
Hi,

It's been a while, totally rusty. I have a login form that calls a Change Password form when the logged-in user needs to change the password. I placed the ChangePassword form in a page, but I struggle to set the action (via p_stage or otherwise) so that the form will call ValidateInsert to validate entries. Any ideas how to let the form work when called from a page as if called from a browse?

Thys

Johan de Klerk

  • Full Member
  • ***
  • Posts: 217
  • Johan de Klerk
    • View Profile
    • Designer Software
Re: NetWebPage contaning a NetWebForm - how to get the action right
« Reply #1 on: September 23, 2016, 01:48:30 AM »
Hi Thys,

NetTalk WebServer - Frequently Asked Questions
http://www.capesoft.com/docs/NetTalk9/NetTalkWebFAQ.htm

W4 Calling Forms directly - not via a Browse
http://www.capesoft.com/docs/NetTalk9/NetTalkWebFAQ.htm#W4

Regards

Johan de Klerk
Clarion 10, NT 11.57

Thys

  • Sr. Member
  • ****
  • Posts: 311
    • View Profile
    • Incasu
    • Email
Re: NetWebPage contaning a NetWebForm - how to get the action right
« Reply #2 on: September 23, 2016, 01:57:12 AM »
Thanks Johan.

One of the examples is "Calling a Memory Form" - which my ChangePassword form is. It says the action is always Change, which I assume will then call the ValidateChange routine when the save button is pressed. But it does not call the routine.

Thys

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetWebPage contaning a NetWebForm - how to get the action right
« Reply #3 on: September 25, 2016, 10:52:00 PM »
It should Thys. Post an example if it's not working for you.

cheers
Bruce