" h2 } if [info exists response(address)] { html "Your address is: $response(address). " h2 } html "You want a: $response(type)." h2 |
The NeoWebScript code for that is listed below:
<nws> load_response if [info exists response(name)] { html "Your name is" html "$response(name).<p>" h2 } if [info exists response(address)] { html "Your address is: " html "$response(address).<p>" h2 } html "You want a: $response(type)." h2 </nws> |