kevinchappell / formBuilder

A jQuery plugin for drag and drop form creation
https://formbuilder.online
MIT License
2.63k stars 1.4k forks source link

Signature Field #1312

Open Vungyr opened 2 years ago

Vungyr commented 2 years ago

Description:

Hello, is there any possibility to be able to add a signature field inside formBuilder?

Environment Details:

Expected Behavior

Actual Behavior

Steps to Reproduce

Screenshot - (optional)

atulsilori commented 1 year ago

you can create custom signature field object and can define template for it

atulsilori commented 1 year ago

inside formBuilderOptions in fields add custom signature object:

        {
            label: 'Signature',
            type: 'signature',
            subtype: 'signature',
            icon: '✍',
        },

inside templates key of formBuilderOptions: add a template

        signature: (fieldData) => {
            return {
                field: 'html for signature',
            };
        },
lucasnetau commented 1 year ago

This is a good candidate library that could be used for a signature control https://github.com/szimek/signature_pad