Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why doesn ITPS handle Radio and CheckBox input fields where no default is selected?

0
10 Posted

Why doesn ITPS handle Radio and CheckBox input fields where no default is selected?

0
10

The browser doesn’t actually send these types of HTML input fields to ITPS (or any CGI) if they aren’t selected. One method to avoid problems when using these type input fields with required tags is to select a default using the appropriate attribute (selected or checked). Do NOT add a hidden field with the default value to the form, because in the event, the user does select a value, ITPS will receive two name/value pairs and concatenate the values. This will almost certainly produce the dreaded (and user unfriendly) “Page Construction Error”.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123