Signature read-only

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
GeraldMarxer
Posts: 5
Joined: Mon May 22, 2017

27 Nov 2017

Hi,

How can i set the signature field to read-only by javascript ?
I want to set this field to read-only if the status field as a specifc value.

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

29 Nov 2017

Hello, Gerald!
Try to use this script to make Ink Sketch control readonly:

Code: Select all

$('#fd_signature-0').attr('style', 'pointer-events:none;');
and this code to make it editable again:

Code: Select all

$('#fd_signature-0').attr('style', 'pointer-events:auto;');
If you have more than one Ink Sketch control, replace fd_signature-0 with fd_signature-1, fd_signature-2 and so on.
Cheers

User avatar
GeraldMarxer
Posts: 5
Joined: Mon May 22, 2017

29 Nov 2017

Hello Nikita,

Sorry, this code does not work with internet explorer.
But it works with Google Chrome or edge.

Do you have also a solution for Internet Explorer ?

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

29 Nov 2017

It does work in Microsoft Edge, but doesn't work in Internet Explorer, even though the property is supported, it seems that SharePoint layout prevents this style from working correctly.

For different implementation, I recommend you to write your request to our support - support@spform.com
We will find a way to implement this functionality for you, but it will take some amount of work, so it would require you to purchase 60 minutes of extra support from our store - https://spform.com/buy/support-maintenance
Cheers

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests