I am using workflow-ng to do some custom PHP code when a particular node type updates. Basically, when the particular node is updated, and go and do some value changes to a table in the database, and update a specific value.

It works fine, except when I am trying to update a phone number. It does math on the phone number and gives the wrong information.

For example, if my phone number is 555-1212, then it will assign a value to the database of -657 (which is 555 minus 1212).

I am using the replacement token to assign the value [node:field_rea_contact_phone-raw].

Is there any way around this, or is this a bug?

Thanks

Comments

ycimlynn’s picture

Status: Active » Closed (fixed)

Sorry...been at my computer too long!

I forgot to enclose ' ' for string data! oish! my apologies!