Andrew B
|
| Posted: 02/10/2002, 11:06 PM |
|
I found an interested little feature on accident just a few minutes ago.
I have a DB filed called 'FileName'. When I put this field on the edit form, any button press redirects me to the value in that field.
i.e. I have 'licensing.asp' in the 'FileName' field in the table, and thus in the form. When I press update/cancel/etc. it takes me to http://site/licensing.asp.
FunkY. So i just renamed my var. to LinkFileName.
|
|
|
 |
Nicole
|
| Posted: 02/11/2002, 3:17 AM |
|
Andrew,
take a look at CC generated code and you'll find that FileName is used in html code, e.g.:
<form method="POST" action="{FileName}" name="Book">
While the page load "FileName" is replaced with the page you have selected as 'FormAction', but in your case it is replaced with the field value, that's why the redirection works incorrect.
Changing the field name is good solution.
|
|
|
 |
|