Community

Programmatically update user field with current date.

I have a date field in a user profile. I would like to change this date in the user profile to be the current time.
I would like to do this programmatically with a button or fill it from another another content type.
Any suggestions on the best way to go about doing this?

Comments

Solution:

For anyone else interested in doing this I created a rule with the following:

Event:
After saving new content

Conditions:
Content is of type (my content type)

Actions:
Set a data value

selected data: node:author:my_field
new value to set for specified data: node:my_changed_field

-Eminence Healthcare

nobody click here