localdevices / 3DStreetview

3D streetview MVP dashboard
GNU Affero General Public License v3.0
0 stars 1 forks source link

Mesh create new - (jQuery) check if selected ODK project holds the right (2) forms before form submission #13

Open hcwinsemius opened 3 years ago

hcwinsemius commented 3 years ago

Before form is submitted (see jQuery create.js, see $('form.admin-form').submit ....) a check is needed to see if the user-selected ODK project holds the right 2 forms (for 3d photos and fill photos), and an app-user (only one) is available. If either one is not available a flash message should be returned. Use function flashMessage for that. Plenty of examples in thew code how to use that function.