How to a create a clickable checkbox area link?

To all,
I am trying to create for lack of a better term a “checkbox area link” that calls another form. The best way to describe it is the user clicks on the check box or the text and it calls another form. This is what I have now.

Thanks

<!DOCTYPE html>
<HTML>
<HEAD>
<style type="text/css">
* {
   margin: 0;
   padding: 0;
}

[type=checkbox]:after {
    content: attr(value);
    margin: -3px 15px;
    vertical-align: top;
    display: inline-block;
    white-space:nowrap;
    cursor:pointer;

}

</style>

<TITLE>Untitled HTML Document</TITLE>
</HEAD>
<BODY BGCOLOR="white">
<form action="demo_form.asp" method="post">
<a href="called_form.html" target="_blank">
 <input type="checkbox" value="Text one" /></a>
</form>

</BODY>
</HTML>

Will it appear misleading? When we click on a checkbox, we don’t expect a form to open or to go anywhere, period. This may result in poor UX (user experience). If this is not your use case, please clarify.

I am using it as second form to enter additional information for a user to perform more actions on a record from a database. Hope this helps

Can you describe your intention more clearly?
Is it that you click the checkbox and the form extends to show more fields.
Or, you click the checkbox and are immediately forwarded to another form.
Or, if you click the checkbox, then submit, you are taken to a second form, which you would not see if you submit without clicking the checkbox.
Or something else?

I as using the checkbox so when you click the checkbox you are immediately forwarded to another form. This will give the user additional (more field) to enter. When they are done with form the user closes it out and continues with the original form. This is a multi record form. The checkbox will be on every detail line and the user can click on it for every record
Hopes this helps

So the checkbox is an option? If they do not click on the checkbox, then the first form continues as normal?

Yes.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.