NetTalk Central

Author Topic: Validation in a static page with a <!-- tag  (Read 2916 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Validation in a static page with a <!-- tag
« on: March 03, 2013, 04:46:54 AM »
Hi,

I have a static page with a <!-- Net:UpdateACT -->?insert_btn=insert&  tag build in.
This looks okay and very smart when it's called.

The validation however does not seem to work.
A lot of fields have the Required box ticked but it looks like nothing is done at all.
The next page after the SAVE button is clicked is the index page of the site.

Is there something more to be done for validation when using a form in a static page like a special validation

Thanks,
Rene Simons
Rene Simons
NT14.14

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Validation in a static page with a <!-- tag
« Reply #1 on: March 04, 2013, 11:41:50 AM »
Hi all,

Thanks for watching.

I figured it out. In stead of  <!--Net:UpdateACT -->?insert_btn=insert  I must do <!--Net:UpdateACT?insert_btn=insert --> . That is when I want the insert form directly from a menu-link without using the browse.
In all the other cases I must to exactly as you explain. and use <!-- Net:UpdateACT -->
Now the validation works fine.

Cheers,

Rene

Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Validation in a static page with a <!-- tag
« Reply #2 on: March 04, 2013, 10:36:08 PM »
cool. I like it when you figure out the problem while I'm asleep!

cheers
Bruce

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Validation in a static page with a <!-- tag
« Reply #3 on: March 06, 2013, 02:38:05 PM »
Someday Bruce, we'll finally get the hang of it.  :)
Rene Simons
NT14.14