314em
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] Fields not being calculated after refreshHi CodePeople,
Contacted you through your website.
Kind regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Fields not being calculated after refreshNot sure I am clear enough. So I apologize, let me try this again.
3 forms with predefined values.
4th form does calculations (initially using the predefined values, and later if the user changes any of the values from the previous forms, the calculations would include the new values).Now, everything works fine occasionally.
The calculated fields randomly get’s assigned the correct values from the predefined values) but if I refresh the page, they do get randomly 0’s (basically not reading the placeholder values).
I can’t find a workaround for it apart from using a button to calculate fields, but even then some times predefined values come back as 0’s. (although in console the values come back correctly)
So until I don’t change the values calculations are obviously 0.
Forum: Plugins
In reply to: [Calculated Fields Form] Fields not being calculated after refreshHi CP,
I do want dynamic calculation, but I also want it to be calculated for the default (predefined values).
Forum: Plugins
In reply to: [Calculated Fields Form] Fields not being calculated after refreshHi codepeople,
Well, that can’t be right, as the code/ summary is instantly shown.
Summary form is the last one, and technically it should be empty (no data in it) for 10 seconds, yet on load it’s already there with either 0 or the correct data.
Kind regards
Forum: Plugins
In reply to: [Calculated Fields Form] Fields not being calculated after refreshUse this link please.
Forum: Plugins
In reply to: [Calculated Fields Form] Fields not being calculated after refreshThanks CodePeople,
Did that, unfortunately with no luck.
I think, a workardound would be to use a button, but that would kill the fun for the form.
Forum: Plugins
In reply to: [Calculated Fields Form] Fields not being calculated after refresh^Obviously now without quote marks as you suggested. However I was expecting the shortcode to appear also in the CFF plugin, here for example
- This reply was modified 3 years, 11 months ago by 314em.
Forum: Plugins
In reply to: [Calculated Fields Form] Fields not being calculated after refreshAh, that was just a simple error when writing here.
In the divi I have it correctly.
Summary:
Divi theme text module I have:
[CP_CALCULATED_FIELDS id="10" class="summary-form"]In CFF
I have an HTML module with<script> setTimeout(function(){ EVALEQUATIONS(jQuery('.summary-form')); }, 50000); </script>*added 50000 as a desperate value π
I have 7 fieldnames that are hidden (these are values from prev forms.)
I have another 8 hidden fields where I do calculations using the above fields.I have one HTML code with some summary text and calculated fields.
And a summary module.I would love the summary and the HTML to be “rendered” last.
Thanks for your patience!
- This reply was modified 3 years, 11 months ago by 314em.
Forum: Plugins
In reply to: [Calculated Fields Form] Fields not being calculated after refreshHi CodePeople,
Thanks for the answer.
Tbh I spent the last day trying to figure out where can I assign the class attribute.When I place it within divi’s text module [CP_CALCULATED_FIELDS id=”10″ class=”summary-form’] it does not work (nor does it show up in console).
What obvious thing I am missing? π
- This reply was modified 3 years, 11 months ago by 314em.
Forum: Plugins
In reply to: [Calculated Fields Form] Fields not being calculated after refreshUpdate: I think it has to do with the order of execution. If I refresh multiple times there are chances to get the calculations done.
Is there a way to prioritize the calculations and then show the summary? (without using a button)