By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,468 Members | 1,865 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,468 IT Pros & Developers. It's quick & easy.

Give A Look Here

P: 20
It is required to generate a HTML page given a list of the following:

1. field Name
2. Field type

If the field is a checkbox, additional field attributes are:
a. Field Checked (TRUE/FALSE)
b. Read-only (TRUE/FALSE)

If the field is a TEXTBOX, additional field attributes are:
a. Field width
b. Max width
c. Read-only (TRUE/FALSE)

If the field is a Text paragraph, additional field attributes are:
a. Size
b. Bold
c. Italics

The data is to be stored in an array of structure or array of union or
You are expected to do the following:

A. Design the structure or union or list element
B. Design and populate the required array.
C. Write an inteligent HTML code generator that is modular
and can iterate over the array from (B) above and output
to a HTML file. The HTML page will be a FORM and have a
"OK" and a "CANCEL" button. You can have a hard coded
output file name.

As usual, The code should be modular. I expect that it should be easy
to add
new field types to the above list of three.
Dec 9 '06 #1
Share this Question
Share on Google+
1 Reply

P: 1,806
If your having trouble starting I suggest you work out a rough plan of what the HTML should look like, and then try to get a program that can produce that output.

If you have already started, please post some information about where you are at and where we can help.....
Dec 10 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.