SammySSammyS
7 years agoQrew Cadet
Default a blank/null value for a required field
Hi,
I have a table-to-table relationship where I have a link in Table1 to create a new record in Table2. When the new record is created in Table2, some of the fields in that form are pulled from fields in Table1.
I have a field in Table2 (not associated with any field in Table1) that needs to be required. However, when a user is entering information into this form, I would like for that field to default to a blank/null value. By doing this, it would require the user to actually pay attention to this field and pick the correct value rather than ignoring it and leaving the default value as is.
I've tried to do this in QuickBase, where the field in Table2 is a drop down that is required but has no default. However, when I click the link in Table1 to add a new record to Table2, the following error page populates:
<qdbapi>
<action>API_AddRecord</action>
<errcode>50</errcode>
<errtext>Missing required value</errtext>
<errdetail>
Sorry, you did not supply a value for the required field named "Date Decision Approved" with field id 51. Please provide a non-blank value for this field.
</errdetail>
</qdbapi>
Is there any way to get this field to default to a blank/null value but also be required? Or, if you have any ideas of how to circumvent this that would help as well.
Thanks!
- Sam
I have a table-to-table relationship where I have a link in Table1 to create a new record in Table2. When the new record is created in Table2, some of the fields in that form are pulled from fields in Table1.
I have a field in Table2 (not associated with any field in Table1) that needs to be required. However, when a user is entering information into this form, I would like for that field to default to a blank/null value. By doing this, it would require the user to actually pay attention to this field and pick the correct value rather than ignoring it and leaving the default value as is.
I've tried to do this in QuickBase, where the field in Table2 is a drop down that is required but has no default. However, when I click the link in Table1 to add a new record to Table2, the following error page populates:
<qdbapi>
<action>API_AddRecord</action>
<errcode>50</errcode>
<errtext>Missing required value</errtext>
<errdetail>
Sorry, you did not supply a value for the required field named "Date Decision Approved" with field id 51. Please provide a non-blank value for this field.
</errdetail>
</qdbapi>
Is there any way to get this field to default to a blank/null value but also be required? Or, if you have any ideas of how to circumvent this that would help as well.
Thanks!
- Sam