Skip to main content
Question

Required Field in Code Page HTML/javascript

  • Nov 2, 2022 9:09 PM UTC
  • 0 replies
  • 78 views

Forum|alt.badge.img+6
I have created a code page with HTML and Javascript.  I have the following field that is required in the QuickBase form itself:


However, I would like this to translate to the code page:

<tr><td style="font-family: Sans-serif;" class=m>Contractor Business Name:*</td>
<td class=m><input type=text size=40 name=_fid_6 ></td></tr>

How do I make the field in the code page required?  or will that kind of functionality need to happen in the javascript.  If so, how?

Thank you so much!

------------------------------
Lija Harris
------------------------------
This topic has been closed for replies.

Lija -

It looks like you could probably just put the 'required' attribute in your input section. Here's the info I found:

https://www.w3schools.com/tags/att_input_required.asp

------------------------------
Blake Harrison
bharrison@datablender.io
/
------------------------------