Hi, I currently am getting the days since a person signed up for each entry and I have the value for all entries radio button. I just don’t know how to actually change that value to the other option after 90 days have passed. I’ve been looking at the documentation for the last few weeks and I just can’t find a way to do this. Does anyone have any suggestions? If you need me to paste my code here let me know.
I’d basically need it to trigger each day or even on email notification sent then to change the value. Is there an action that can do this in gravity forms? Or a workaround for this?
I just need help with how to change the value for the radio button field $email_im_holding to “Holding Account” from “Normal Account”. the
if ($dateDiff >= 90){
works fine when an entry is over 90 days. Then I don’t know how to trigger this so it checks each day I’d assume as a cron job.
Ok, the cronjob should work fine but do you know of a way to change the value for a radio button while not actually on the form page or editing the form?
Thanks, I was able to get it to work he functions.php file but I want it to run only once a day so I moved it over to a new php file but I’m getting “Uncaught Error: Class ‘GFAPI’ not found in …” errors. I’m guessing I need to import the class but I don’t know which class I would import from gravity forms to get it to work. Any Ideas? Thanks!