I've searched all over the place for something similar to this and have been unable to figure out my issue. I'm guessing it's something with the CF7 Google Sheets Connector plugin and not with the Contact Form 7 plugin, but I'm taking a shot that someone may be able to help here as I've gotten no response on the CF7 Google Sheets Connector plugins' support forum.
Here's the issue quickly. I need to send a hidden formula to a cell in my google sheet. When I send this from my CF7 form:
[hidden payment-amount default:"=If(X12>0,(65+25*Y12),0)"]
it works fine and my cell is populated with the results of the formula. The problem is that I need an indirect cell reference for the X12 and Y12 parts because I don't want the value of X12 and Y12. I want the value of the cell in column X and Y for the current row.
My research shows that this should work:
[hidden payment-amount default:"=If(indirect("X" & row())>0,(65+25*indirect("Y" & row())),0)"]
And if I type that formula directly into my cell, it works fine.
However, when I send a form from my website with this as my hidden variable, the target cell is blank. I think the formula is ok, but something is causing it not to send to the cell or is messing with the formatting or possibly indirect is a reserved word that can't be sent, but I was unable to find documentation listing that it is.
If anyone has any suggestions on how to get these indirect references to send properly to my Google sheet, or a different way to write this formula, that would be awesome!