NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on March 03, 2013, 04:46:54 AM

Title: Validation in a static page with a <!-- tag
Post by: Rene Simons 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
Title: Re: Validation in a static page with a <!-- tag
Post by: Rene Simons 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

Title: Re: Validation in a static page with a <!-- tag
Post by: Bruce on March 04, 2013, 10:36:08 PM
cool. I like it when you figure out the problem while I'm asleep!

cheers
Bruce
Title: Re: Validation in a static page with a <!-- tag
Post by: Rene Simons on March 06, 2013, 02:38:05 PM
Someday Bruce, we'll finally get the hang of it.  :)