Saving Signature inside comment form

Created on 19 May 2014, over 10 years ago
Updated 28 February 2023, almost 2 years 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.71.5 2024