Problem with CF7 - Read Data - Populate Fields

mayergreenberg259 10 Dec, 2023
This is not really a question, but if anyone thinks I'm wrong, feel free to let me know.

I noticed a problem with cf7, where if you use the 'Read Data' action, and you use the 'Populate Fields' behavior then the value will only show up in the form's input when the 'model' name is the same as the 'source table' name. For example, If I read data from the 'Payments' table, with the model name being 'Payments', and have a form input with the 'name' 'Payments.PaymentId', then the value will show up fine. But If I name the model 'P', and have the form input named 'P.PaymentId', the value won't show up.

Does anyone have an explanation?
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger