Saving Signature inside comment form

Created on 19 May 2014, about 10 years ago
Updated 28 February 2023, over 1 year ago

Hey guys. Having no documentation is hard.
I need some help because I can't get any further.

I want my user to be able to comment to nodes with an additional drawing field.
Could already add the field to the form with hook_form_alter:


		$form['drawingfield']['und']['#type'] = 'signaturefield';
		$form['drawingfield']['und']['#width'] = '790';
		$form['drawingfield']['und']['#height'] = '200';

The field is there and I can draw in it, etc.
The problem is, it does not save. If I submit the comment, it does not save this new field, what am I doing wrong?

Hope you can help :(

πŸ’¬ Support request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany DanielScholz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024