<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/c930994cfa24481797df7b456bc08567&quot; frameborder=&quot;0&quot; width=&quot;2304&quot; height=&quot;1728&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1728</height><width>2304</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1728</thumbnail_height><thumbnail_width>2304</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/c930994cfa24481797df7b456bc08567-1691076602708.gif</thumbnail_url><duration>288.0666666666668</duration><title>Only Display Modal when an Input is Empty</title><description>Hey there! In this project &amp; tutorial video, I&apos;ll be showing you how to use MemberScripts to create a modal that pops up when a custom field in Member Stack is empty. I&apos;ll provide a quick demo to illustrate how it works. 

By default, the modal is not visible, and we&apos;ll use a Memberstack attribute to display it when its needed. 

I&apos;ll also explain how to use MemberScripts to control the visibility of the modal based on the custom field&apos;s value. Additionally, I&apos;ll share some optional code snippets for preventing page scrolling and controlling input fields. 

If you want to use this in your project, I recommend cloning the provided element in the dashboard and customizing it to fit your needs.</description></oembed>