chrisdias96
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] Global variables in FormFor example, I have 3 dropdown fields that can be inputted: fname1, fname2, fname3
Depending on the user choices, 20 calculated fields will result in a text or image.
In each of these 20 calculated fields, I start off by passing the results of name1-3 into variables.
Ex: var result1 = fieldname1; var result2 = fieldname2; var result3 = fieldname3;My goal is to refactor this code by declaring the example above in one calculated field, and then use the result1,result2,result3 in the other calculated fields.
Forum: Plugins
In reply to: [Calculated Fields Form] Tracking Data ResultsThanks,
But I don’t want to redirect the user to the URL. I just want to track that URL for data purposes. is it possible to not redirect the user, but if they click on it, I can still grab the link and use it in google tag manager or google analytics?
Forum: Plugins
In reply to: [Calculated Fields Form] Tracking Data Resultsit is Version 1.1.57
Forum: Plugins
In reply to: [Calculated Fields Form] Select Checkbox using another checkboxThank you for your help! It’s working.
Amazing how one word or line can change the whole thing.Forum: Plugins
In reply to: [Calculated Fields Form] Select Checkbox using another checkboxThanks,
I separated it and does work. However, I have calculated field121 that has dependent of f106 and should go through some calculations. But since f106 is being ticked through f108, it doesn’t show the dependent field 121 or perform the calculations. Am I missing something?
Forum: Plugins
In reply to: [Calculated Fields Form] Select Checkbox using another checkboxHi codepeople,
That works, but now that has disabled functionality of fieldname106. I still want to be able to uncheck 106. f108 requires f106 to be enabled, but f106 does not require f108 to be enabled. I can no longer manually enable or disable it.
Forum: Plugins
In reply to: [Calculated Fields Form] Select Checkbox using another checkboxfieldname106 should be checked when fieldname108 is checked.
Forum: Plugins
In reply to: [Calculated Fields Form] Select Checkbox using another checkboxHi,
That did not work. I added your code into a field that checks if fieldname106 is true and performs a calculation.
I ticked fieldname106 to true, and fieldname108 did not get ticked true along with it.
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Checkbox ValueThanks codepeople.
I understand you provide a service at an extra cost.
I am capable of fixing the issue if you could provide an example of how it is causing an endless loop.For example, fieldname20 has very little code and only checks if fieldname4 is empty. Is the solution a refactored condition? Or should I be doing all my calculations under one field? I have about 12 fields that require calculations based off fieldname4.
Thanks again.
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Checkbox ValueHere is the link:
https://troescorp.com/calculator-test/fieldname4 (power demand) freezes at 30kW option.
- This reply was modified 3 years, 2 months ago by chrisdias96.
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Checkbox ValueThanks.
Going back to your code at
(function(){
if(fieldname1 == 30) getField(2).setChoices({texts:[‘A’, ‘B’, ‘D’], values: [1,2,4]});
else getField(2).setChoices({texts:[‘A’, ‘B’, ‘C’, ‘D’], values: [1,2,3,4]});
})()Why does this code freezes the browser and require a restart when running dynamically? Can it only be used on runtime, and why?
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Checkbox ValueActually I figured it out.
Thanks for bearing with me.
One last thing, I added a div with 2 columns but don’t see the option to move the fields into each column. The builder just shows one giant row. How do I choose which field goes in which column?
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Checkbox Value`(function(){
if(fieldname1 == 30) getField(5).jQueryRef().find(‘option:eq(2)’).hide();
else getField(5).jQueryRef().find(‘option’).show();
})()’I am attempting to use this code to hide the option as you mentioned in your previous answer, but I cannot get this code to work to change my DOM. I am attempting to hide options in fieldname5.
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Checkbox ValueOk thanks I will look into DS fields.
Another thing, Is it possible to choose specific fields that run dynamically or on runtime. I have specific fields that I only want to update on runtime, and some fields I want to be dynamically evaluating at all times?
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Checkbox ValueHello,
But the choice doesn’t disappear until runtime.
Hypothetically, if I had to input 2 dropdowns; one for country and one for state. It would be possible to choose a country like Australia with a state New York. It wouldn’t be until runtime that it would update.
My solution requires a dynamic update of a calculated field. But if I enable dynamic evaluations then one of my download buttons would break.
What other way can I go about this?
- This reply was modified 3 years, 2 months ago by chrisdias96.