pvtsolver
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] How to create a multiple choice quiz?Got it. Thank you so much. ??
Forum: Plugins
In reply to: [Calculated Fields Form] How to create a multiple choice quiz?Hello @codepeople
Here is the link to my form:
https://pvtsolver.com/features/N.B. kindly scroll down, you will find it just above the footer.
Please advise.
Forum: Plugins
In reply to: [Calculated Fields Form] How to create a multiple choice quiz?Yes, I understand. I have already assigned number 1 to the correct choice’s value and 0 to other incorrect choices.
And added this script to the “Calculated Field”:
SUM(fieldname1,fieldname2,fieldname3,fielname4)/4*100
But still not displaying any score for me.
Please advise.
- This reply was modified 3 years, 6 months ago by pvtsolver.
Forum: Plugins
In reply to: [Calculated Fields Form] How to create a multiple choice quiz?Hello @codepeople
I want to calculate the final score based on the users answers in percentage.
For example, if the user answered 30 questions correctly out of the total number of questions (Ex: 40), the score would be 75%.
How could I implement that?
Thank you.
Forum: Plugins
In reply to: [Calculated Fields Form] How to create a multiple choice quiz?Thank you for your quick response.
What if the choices are not numerical? What is the alternative script that I need to use in the “Calculated Field” instead?
Please advise.
Forum: Plugins
In reply to: [Calculated Fields Form] How to create a hit counter?Can this be done with the basic (free) version of CFF?
Okay got it.
Thank you so much for your support.
- This reply was modified 4 years, 6 months ago by pvtsolver.
Thank you.
It works perfectly on Mobile UI.
In Desktop UI, I need the “Enter” key to trigger the calculate button only if the LAST entry field is focused. If the user is editing any other entry field, the “Enter” key should navigate him to the next entry field.
Is this possible.
Please advise.
Done. Thank you.
One more question please.
I want to add HTML code to the return value in the calculated field:
[number calculated] | P > P<sub>b</sub>
How to add a subscript text inside the calculated field?
Please advise.
- This reply was modified 4 years, 7 months ago by pvtsolver.
Got it. Thank you.
But any blank entry field is treated as zero.
How I can fix this?
Got it.
One more question please.
I want the value in the calculated field box to be removed entirely (box becomes empty) if one of the data inputs are invalid as soon as the user clicks my button.
Is this possible?
Please advise.
Forum: Plugins
In reply to: [Calculated Fields Form] Make specific fields to appear side by sideThank you so much.
What a great support ??
Forum: Plugins
In reply to: [Calculated Fields Form] Make specific fields to appear side by sideGot it. It works.
But I want the appearance in the mobile UI to keep in full-width.
Please advise.
Forum: Plugins
In reply to: [Calculated Fields Form] Make specific fields to appear side by sideGot it. Thank you
Can I add gaps between columns (adjacent field boxes)?
Forum: Plugins
In reply to: [Calculated Fields Form] While Loop Causes Browser CrashingI tried this code, still not working!
Please note that both
T_pr
andP_pr
were assigned earlier to the function.(function(){ var A_1 = 0.3265; var A_2 = -1.07; var A_3 = -0.5339; var A_4 = 0.01569; var A_5 = -0.05165; var A_6 = 0.5475; var A_7 = -0.7361; var A_8 = 0.1844; var A_9 = 0.1056; var A_10 = 0.6134; var A_11 = 0.721; var Z_Trial = 1; var dZ = 1; var I = 0; while (AND (I < 10001 , OR (dZ > 0.00000000000001 , dZ < -0.00000000000001))) { var Den_r = (0.27 * P_pr) / (Z_Trial * T_pr); var C1 = A_1 + A_2 / T_pr + A_3 / POW(T_pr , 3) + A_4 / POW(T_pr , 4) + A_5 / POW(T_pr , 5); var C2 = A_6 + A_7 / T_pr + A_8 / POW(T_pr , 2); var C3 = A_9 * (A_7 / T_pr + A_8 / POW(T_pr , 2)); var C4 = A_10 * (1 + A_11 * POW(Den_r , 2) / (T_pr , 3)); var Z_Calc = 1 + C1 * Den_r + C2 * POW(Den_r , 2) - C3 * POW(Den_r , 5) + C4 * POW(Den_r , 2) * Exp(-1 * A_11 * POW(Den_r , 2)); var dZ = Z_Calc - Z_Trial; if (P_pr <= 2) { var Z_Trial =+ dZ; } if (AND (P_pr > 2, P_pr <= 3)) { var Z_Trial =+ dZ / 2; } if (AND (P_pr > 3, P_pr <= 6)) { var Z_Trial =+ dZ / 3; } if (P_pr > 6) { var Z_Trial =+ dZ / 5; } I++; } var Z = Z_Calc; return Z; })();
Please advise.