A function for dynamic form composition from a Select option.
Displays a Div from several, which may contain form items, based on a select choice; with a common second Div to all selections. Used here with ShowSub which shows the submit box after user checks input. Additionally there is a required hidden input value set in the function to a string based on the Select value.
Function ShowDivP2( SelId,DivId,P2Id,ReqVal) where:
SelId is the Select id in quotes
Function ShowSub(
SSelId,SDivId) where:
SSelId is the Select id in quotes |
Back to Main Menu |