I think to improve this module few things have to be done for a production website. These following features I think they are very important:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

darol100’s picture

Issue summary: View changes
darol100’s picture

Issue summary: View changes
darol100’s picture

Assigned: Unassigned » darol100
darol100’s picture

I have wrote a patch that would improve this module. These are the things that this patch would improve or fix.

  • I have updated the README.txt with more details on the installation of this module.
  • The hook_help was empty so I display the README.txt so we can have some information in the help pages.
  • In order to have this module working properly, we need to created a new directory in the libraries/signature-pad called build and move some files into it. This information is not either in the front page or in the README.txt I found this information in this comment. So I change it where this module do es not have to created or move any files just like the instruction in the front page.
  • I have fix this issue #2111849: Undefined idex: mandatory - Error message on above the form by replacing mandatory with required.
  • I have run the drush coder-format to add some spacing to make this module Drupal Coding Standards.

If you are running Webform 3x you should not apply this patch to this module otherwise you might run into some errors. You should also consider upgrading to Webform 4x and then applying this patch.

darol100’s picture

Status: Active » Needs review
darol100’s picture

Assigned: darol100 » Unassigned
ogomez78’s picture

This patch worked wonderfully. Thanks!

  • darol100 committed 601d507 on 7.x-2.x
    #2418799: Improving SignaturedField.
    
emerham’s picture

Patch shows up for Webform version 4. Is there a way to do the textfield to signature like in the demo?
http://thomasjbradley.ca/lab/signature-pad/accept/

Morasta’s picture

Was having problems getting SignatureField to function on my site, this patch takes care of it nicely. Would love to see it rolled into the dev branch.

darol100’s picture

Title: Improving SignatureField Module for D7 » [META] Improving SignatureField Module for D7
Assigned: Unassigned » darol100

@Morasta,

The reason why did not commit this patch to the dev branch 7.x-1.x its because there are people using Webform 3x and this can break their website. That's why I created another branch 7.x-2.x with this issue been solve.

I do not have permission to created releases, so I can not make a release for 7.x-2.x. However, I can re-created another patch with the Webform 4.x changes without affecting the Webform 3.x and push it to 7.x-1.x .

I will do the same that I did on comment #4 but in separated issue. In addition, I have make this issue into a META issue to see if there are people interested on helping into this project.

Morasta’s picture

@darol100,
Thanks for the explanation, that makes sense. I missed the fact there even was a 2.x branch.

Not sure if this other issue (https://www.drupal.org/node/2190471) is already addressed in that branch, but it appears the signaturefield won't render on a node's view unless the color, height, and width options are defined on the field itself. Happens on two dev sites in my environment.

The current help text implies they are optional, at least to me. Since someone took the time to open a issue about it, maybe it's worth patching that too? I just changed the text on my end and could provide a patch if it's worthwhile.

joelstein’s picture

Thanks @darol100 for rolling these changes into the 7.x-2.x branch. It would be nice if we could get a release node so that folks can see the branch on the project page.

For those who want to work with these changes, you have to checkout the 7.x-2.x branch directly from Git:

https://www.drupal.org/project/signaturefield/git-instructions

joelstein’s picture

Since I'm not sure where to post patches against the 7.x-2.x branch, I'll post here. This patch fixes the Webform integration so that a Signature field can be shown/hidden with the Webforms conditional fields feature. It also removes the ability for a signature field to be used as a conditional field source (which wasn't working anyway).

themic8’s picture

I am unable to access the repository for the 7.x-2.x branch.

Could you enable the 7.x-2.x branch on the project page?

darol100’s picture

Assigned: darol100 » Unassigned
Category: Task » Plan
Status: Needs review » Active

@themic8, You have to download it using git. https://www.drupal.org/node/1012218/git-instructions/7.x-2.x/nonmaintainer

I do not have access to make releases, I message @realityloop (Brian, maintainer of this project) and he only gave me access to make new branches. I send him another message few months back to make a release for 7.x-2.x and he never reply me back =(.

I'm not using this module on any of my project, which makes me less interested on contributing back to this project. For this reason, I'm unassigned this issue so other people can work on it. Also, changing to plan since this is a meta, as well to "Active."

colan’s picture

Please read Dealing with unsupported (abandoned) projects for how to take over projects from unresponsive maintainers. Generally, they only have 2 weeks to get back to you, or it's yours.

themic8’s picture

@darol100 Thank you. That did the trick.

I'll see if I can get access as well to help maintain this module.

realityloop’s picture

@themic8 are you still interested in maintaining? I don't recall getting a message from darol100 about rolling a new release.

Matthijs’s picture

Status: Active » Closed (outdated)

Closing since the Drupal 7.x version is no longer maintained.