Hello,
This is probably a silly question but here it is:
I am following the getting started series of videos and so far it is going well except I cannot make the modal window close automatically using the the dynamic event submit. I must have missed something.
Don’t call the hide action and the submit action on the same event.
Use the dynamic events of the server connect form to hide the modal instead.
Also, you don’t actually need to call the form submit event with a button. Use a submit button inside the form to submit it.
Your main page might need saving (assuming that’s your layout page) that’s where the script gets added I believe I see the blue dot next to main.ejs, just something to try.
Thanks - that worked! I had been saving each time using CTRL + S but it did save when I went to the main page.(and removed some other changes I tried along the way.
Data is inserted each time I click the save button…