NetTalk Central

Author Topic: NetWebYear Template  (Read 2488 times)

johncorry

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • Email
NetWebYear Template
« on: August 01, 2013, 04:19:54 PM »
In a diary I am using this template with a memory file which is made up from a combination of 3 tps files. I am able to modify data tolerably well using a form for the memory file but redirecting the input on save to the 3 files as required and then remaking the memory file.
It would be neater if instead I could redirect the change/insert request from the calendar template to 1 of 3 forms and update the tps files directly. I have tried to find where I can embed some conditional code but without success. Suggestions much appreciated.
Thanks
John

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NetWebYear Template
« Reply #1 on: August 08, 2013, 02:33:08 AM »
John,

I'm not sure it's possible to do what you want - but it might be. I think an example might help in showing what you have in mind.
Remember the update form is called by the _browser_ not the server, so the condition for determining which form to call would need to be done when the data is generated, not when the click happens.

But an example will help understand the problem more fully.

cheers
Bruce