When submitting a node w/ a Social Insurance Number field I get the following error
[23-Feb-2009 16:51:51] PHP Fatal error: Call to undefined function valid_us_sin() in /Users/davexoxide/workspace/slicehost/sites/all/modules/contrib/sin/sin.module on line 157

So for testing purposes I moved everything from sin.us.inc into sin.module and got a duplicate function name error. So I comment out both functions in sin.us.inc and this allows the node to submit, but there is no value stored for the Social Insurance Number.

Any ideas? I'm about to just write a custom validation hook for a text field instead.

Comments

samurai_india’s picture

Hi,
Just copy valid_us_sin() function in .module file and everything goes fine..

sankar_jeya’s picture

hi iam new to drupal how to do this plz guide me

thierry_gd’s picture

Status: Active » Fixed

Taken into account in 6.2.5 release

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.