Update field with math after import

By: Andres Garcia | Asked: 12/17/2022
ForumsCategory: General questionsUpdate field with math after import
Andres Garcia asked 2 years ago
I have a form that has 3 fields. Field A = Price, Field B = Quantity, Field C is set up as a value calculation, [A] * [B] which works great if the user fills out the form, then field c automatically calculates. However, If I were to import data (only A and B), then C remains blank. Is there some sort of code I can run to update field C without having to go into edit every single entry?   Thanks
1 Answers
Victor Font answered 2 years ago
Importing data bypasses form actions. You need to do the calculation in the spreadsheet you use to create the CSV and import the calculated value.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right