Signature read-only
- GeraldMarxer
- Posts: 5
- Joined: Mon May 22, 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.
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.
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Hello, Gerald!
Try to use this script to make Ink Sketch control readonly:
and this code to make it editable again:
If you have more than one Ink Sketch control, replace fd_signature-0 with fd_signature-1, fd_signature-2 and so on.
Try to use this script to make Ink Sketch control readonly:
Code: Select all
$('#fd_signature-0').attr('style', 'pointer-events:none;');
Code: Select all
$('#fd_signature-0').attr('style', 'pointer-events:auto;');
Cheers
- GeraldMarxer
- Posts: 5
- Joined: Mon May 22, 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 ?
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 ?
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 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
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
-
- Information
-
Who is online
Users browsing this forum: No registered users and 11 guests