Created
May 12, 2017 01:37
-
-
Save spivurno/215bd77ca11ffcd4931cdcda37b4f28e to your computer and use it in GitHub Desktop.
Gravity Perks // GP Copy Cat // Modify Copied Value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
// [email protected] => gravitywiz.com | |
gform.addFilter( 'gppc_copied_value', function( value, $elem, data ) { | |
if( data.target == 2 && value ) { | |
value = value.split( '@' )[1]; | |
} | |
return value; | |
} ); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment