I have a User Application form that works fine, except the validations fail when I refresh the page, I have to refresh it twice to clear the errors.
The admin then reviews the application and chooses a STATUS (a field) of Accepted/Denied/MoreInfo.
1) Is there a way to send out an email based on the STATUS selection?
An email does get sent, with "You've been {STATUS}". But you can see [MoreInfo] would be a problem and it would be nice to customize the email more such as "Congratulation" for those accepted or "We appologize" for denied. But would also like to inform the user what more information we request when selecting "MoreInfo".
I believe the only way to do this is to setup the email template to test the variables and output the appropriate message. And in terms of the MoreInfo, well, add a textarea in the form for the admin to type and include that in the email via the php template, if that's even possible and if I'm correct in how this template is used. Do I have this correct or is there another better way?
2) If more information is requested, the user needs to come back to the application and make changes. Showing the same list the admins see won't do. So I created another list, which automatically creates another form, group, and elements. I bascially needed to duplicate everything just so the user has a different view of the list and that only his application shows up. If this is how it needs to be done, there's going to be a whole lot of elements since I'm creating 3 other forms requiring admin approval. Is there another way?
The admin then reviews the application and chooses a STATUS (a field) of Accepted/Denied/MoreInfo.
1) Is there a way to send out an email based on the STATUS selection?
An email does get sent, with "You've been {STATUS}". But you can see [MoreInfo] would be a problem and it would be nice to customize the email more such as "Congratulation" for those accepted or "We appologize" for denied. But would also like to inform the user what more information we request when selecting "MoreInfo".
I believe the only way to do this is to setup the email template to test the variables and output the appropriate message. And in terms of the MoreInfo, well, add a textarea in the form for the admin to type and include that in the email via the php template, if that's even possible and if I'm correct in how this template is used. Do I have this correct or is there another better way?
2) If more information is requested, the user needs to come back to the application and make changes. Showing the same list the admins see won't do. So I created another list, which automatically creates another form, group, and elements. I bascially needed to duplicate everything just so the user has a different view of the list and that only his application shows up. If this is how it needs to be done, there's going to be a whole lot of elements since I'm creating 3 other forms requiring admin approval. Is there another way?