Close onSubmit
I have a DA form that opens in a lightbox that I would like to close the lightbox after submission.
If I add
parent.location.reload();parent.Shadowbox.close();
to the onSubmit button no data is submitted, I have tried to add this to the redirect url option (just in case) but this didn't work as it was looking for a page with this name.
Does anyone have any suggestions on how I could add this?
Many Thanks