FrontPage Forums
FrontPage How-To Articles
Website Design Articles
Software & Book Store
Newsletter <- Sign up here!
Website Links
About WebWorkshop.org
FrontPage How-To Articles
    
I have a hidden field in a form. I changed the value and saved the page, but when I re-opened it the old value had returned.
    
Hidden fields let you store information in a form that the user doesn't see, but will be included when the form is submitted. You can add a hidden field by clicking on a form with the right mouse button, then choosing "Form Properties...", then clicking the Advanced button.

There seems to be a bug in FrontPage, in that if you add a hidden field then change the value associated with the field, the new value doesn't get saved. To fix this, you can edit the value with the Windows Notepad; here's how.

  • In FrontPage, choose View > Folders, then locate the page containing the form.
  • Click on the page with the right mouse button. Choose "Open With...", then choose "Text Editor (notepad)".
  • Once the form loads, choose Search > Find... in the Notepad to bring up the Find dialog box. Search for "hidden", and verify that you've found the correct HTML code for the hidden field. It will look something like this:

<input type="hidden" name="type" value="blue">

  • Select the text for value (be careful not to select the quotes), then replace it with the value you want.
  • Save the changes and close the Notepad. You can verify the change by opening the file in FrontPage, right-clicking on the form, then clicking the Advanced button.

<Back to table of contents>

   
Notice: Although every effort has been made to ensure that the information here is correct, be advised that what works on one computer system may not work on another. Use the information you find here at your own risk! WebWorkshop.org and its affiliates are not responsible for any damage or loss due to use (or misuse) of information found here.
   
Copyright ©2001-2004 WebWorkshop.org, all rights reserved
No part of this document may be reproduced without permission from WebWorkshop.org
   
Web Hosting provided by
Intelligent Hosting