Calculating "Administrator" Fields

By: Roland Jungwirth | Asked: 09/22/2023
ForumsCategory: General questionsCalculating "Administrator" Fields
Roland Jungwirth asked 7 months ago
I am trying to calculate a field's value by using FF's built in "calculations" section. This works well as long as the visibility is set to "Everyone". However - in my case - this field is not supposed to be shown to the "normal" user. And because it calculates sensitive data, hiding it using CSS is not an option. So, how can I calculate a field with visibility set to "Administrator", when a (normal) user completes the form?
1 Answers
Rob LeVineRob LeVine answered 7 months ago
I would think you can accomplish it by using the frm_after_create_entry hook and doing the calculation in the PHP code.
Roland Jungwirth replied 7 months ago

Hi Rob, thank you - that is what I was looking for.

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