D
David
Hi,
I have an addition I would like to make to an asp web form I have.
On the form, I have a field which the user inputs a 'quantity' of
guests.
If this field is greater than 0 (zero) (How do I test for this ...
onLostFocus ??), I have a row of fields required for each guest.
i.e
First Name | Last Name | Age | Room Type | ....... etc
The fields are the same for each guest, but just named differently.
Guest qty = 3
Then 3 rows of fields should display, or if they are halfway through
filling them in and wish to add/remove a row of fields, there needs to
be an option for that also, Delete / Add Guest button ?
If this can be done, how are the fields named, as the form info needs
to be sent via email.
With my asp pages, I am using Request.form("Text_Field_Name"), but
should they be dynamic names ??
Or are for example, 10 rows created and all fields named separately,
but only the specified number are set to display,
i.e. 3 are shown to the user and 7 are hidden ?
I would appreciate any help/advice you can offer
Thanks
David
I have an addition I would like to make to an asp web form I have.
On the form, I have a field which the user inputs a 'quantity' of
guests.
If this field is greater than 0 (zero) (How do I test for this ...
onLostFocus ??), I have a row of fields required for each guest.
i.e
First Name | Last Name | Age | Room Type | ....... etc
The fields are the same for each guest, but just named differently.
Guest qty = 3
Then 3 rows of fields should display, or if they are halfway through
filling them in and wish to add/remove a row of fields, there needs to
be an option for that also, Delete / Add Guest button ?
If this can be done, how are the fields named, as the form info needs
to be sent via email.
With my asp pages, I am using Request.form("Text_Field_Name"), but
should they be dynamic names ??
Or are for example, 10 rows created and all fields named separately,
but only the specified number are set to display,
i.e. 3 are shown to the user and 7 are hidden ?
I would appreciate any help/advice you can offer
Thanks
David