Hi Cal,
This isn't really an App Engine question. Look into the css display property.
http://www.w3schools.com/css/css_display_visibility.asp
http://www.w3schools.com/css/pr_class_display.asp
Robert
On Tue, Nov 16, 2010 at 03:23, Cal <[email protected]> wrote:
> I want to have several forms on one page that are not displayed until
> a selection is made from the category drop down box. The form
> displayed will depend on the selection made. Here is the code I have
> so far.
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
> www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
>
>
> <head>
> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
> <title>Admin Console Assets</title>
> <script type="text/javascript" src="multiValueForm.js"></script>
> <script type="text/javascript" src= "validationBlankName.js"></script>
>
> </head>
>
> <body>
> <label id="Label1">ADMINISTRATOR CONSOLE - ADD AND EDIT ASSETS<br />
> </label>
> <form action="" method="post" style="border-style: ridge; width:
> 311px; height: 37px;" name="myform">
> <table>
> <tr>
> <td>Select Category:</td><td>
> <select name="category" onchange="set_sub_category()" style="width:
> 157px">
> <option selected="selected" value="select">Select an Option</option>
> <option value="add">Add Category</option>
> <option value="district">Council District</option>
> <option value="region">Region</option>
> <option value="pom">POM</option>
> <option value="proptype">Property Type</option>
> <option value="assetcat">Asset Category</option>
> <option value="assettype">Asset Type</option>
> <option value="property">Property</option>
> <option value="asset">Asset</option>
> </select>
> </td>
> </tr>
> </table>
> </form>
>
> <form style="display:none" action= "admin_console_new.html"
> onsubmit="return (validate_form(this)& validate_list(this))"
> method="post" style="border-style: ridge; border-width: medium;
> height: 154px; width: 346px;" name="district">
> <table style="height: 86px">
> <tr>
> <td>Select District Value:</td><td>
> <select name="district">
> <option selected="selected">Select an Option</option>
> <option>Add Council District</option>
> </select>
> </td>
> </tr><tr>
> <td>Enter District Name:</td><td>
> <input name="name" type="text"/>
> </td>
> </tr><tr>
> <td>Enter Description:</td><td><textarea name="description"></
> textarea>
> </td>
> </tr><tr>
> <td><input type="submit" value="Submit" name="Submit3" /><input
> type="reset" value="Reset" />
> </td>
> </tr>
> </table>
> </form>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.