Skip to main content
Question

Prompt to instruct AI field to ignore blank fields

  • July 16, 2025
  • 4 replies
  • 91 views

Forum|alt.badge.img+2

I'd like to draft a prompt for an ai field to carry out actions on a specific field in a base but this field may on occasions be blank. I get a “Required field is empty.” error. How do I structure my prompt so that the ai field ignores this field if it's blank but carries out actions on it if data is present? Thanks

4 replies

nroshak
Forum|alt.badge.img+9
  • Inspiring
  • July 16, 2025

I had this situation just yesterday, and here’s what I learned:

1. edit the AI field definition and look at the prompt

2. in the prompt, click on the field you want to leave blank

3. choose “Make Optional”

Optional fields will display with a dotted line around them.

 


MilhoanDesign
Forum|alt.badge.img+10

Thank you ​@nroshak I learn something new on here everyday! 


Forum|alt.badge.img+2

Brilliant, so obvious now you’ve pointed it out! Thank you so much ​@nroshak 


nroshak
Forum|alt.badge.img+9
  • Inspiring
  • July 22, 2025

Brilliant, so obvious now you’ve pointed it out! Thank you so much ​@nroshak 

Thanks Rob, glad it helped! If it solved your problem please mark it as the solution :)