I am creating a web-based version of an existing paper form.
Can an event be added to a RadioButton on my RazorPage, so that the event is automatically executed when the radio button is selected?
...and if so, where would I enter the event code(Javascript or C#, I assume) to assign the desired value to the field? (Can a RadioButton have an onclick event?)
The purpose of the Razor Page is to add a new record to a SQL Server table, or save changes to an existing record via the Razor Page.
The RadioButton group is used to choose one of a list of predefined values for one of the fields(in the same way as dropdown list would do so).
Thanks!
