Jump to content

question on switch statements


anfo

Recommended Posts

yes it is possible. You just create the buttons you want, and give them different names. Then when the form is posted, look for a particular name and do something with it.

 

If you have criteria for displaying the button, e.g. if this equals that, display button 1, else display button 2, then use a switch statement to analyze your arguments, and display the one you wish based on those items.

 

Nate

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.