For a client I made a form which is used on each project to report problems.
The client is now asking if he can put an image in each project form (form builder should read this from page data). on the image the user should be able to put a marker and send this with the form.
Would be nice if someone here could point me in the right direction.
Any help is appreciated.
Form Builder + put marker on image
Re: Form Builder + put marker on image
I think you could use javascript to preview the image, manipulate it (add the marker), convert it to a DataURL and write that to a hidden text field.
Then in FormBuilder submit the data to a UDT to convert the DataURL to a file and save it somewhere on the server.
Somehow you'd need to save the new filename/path to be able to send an email to the website owner with the image attached. Another option would be to store the submitted form data to a LISE instance. If showing the data on a (protected) front end page using LISE you might even skip the conversion of the dataURL to a saved image. Just use the dataURL for the <img src="[dataURL]" ... /> tag.
Disclaimer: I didn't really check anything of the above but think you now have some keywords to google
Then in FormBuilder submit the data to a UDT to convert the DataURL to a file and save it somewhere on the server.
Somehow you'd need to save the new filename/path to be able to send an email to the website owner with the image attached. Another option would be to store the submitted form data to a LISE instance. If showing the data on a (protected) front end page using LISE you might even skip the conversion of the dataURL to a saved image. Just use the dataURL for the <img src="[dataURL]" ... /> tag.
Disclaimer: I didn't really check anything of the above but think you now have some keywords to google