• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Form Builder + put marker on image
PostPosted: Tue Sep 25, 2018 6:46 am 
Offline
New Member
New Member

Joined: Wed Aug 08, 2018 9:19 am
Posts: 7
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Form Builder + put marker on image
PostPosted: Tue Sep 25, 2018 8:42 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3061
Location: The Netherlands
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 :-)


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting