chrisdias96
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Checkbox ValueHi,
How come the dropdowns options cant change automatically?
It defeats the purpose of hiding some of the options if the user can still choose them before they click submit?Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Checkbox ValueHello,
Your solution does work, however it only runs when I submit my results. Is there an automatic way of changing the options for dropdown 2 once dropdown 1 is chosen?
I would like to explain my 2 situations incase I was confusing.
I have 2 separate situations.
Situation 1:
I have 3 dropdowns with a series of options.
Dropdown 1 choose a # with multiple of 10.
Dropdown 2: choose a number between 1-8.
Dropdown 3, choose a number between 1-3.If Dropdown 1 value equals 30, I want dropdown 2 to hide to the #7 as an option. I don’t see how your answer helps solve this.
Situation 2:
Note this is a completely separate question to the above. I just didn’t want to create a separate thread for it.I have 2 checkboxes (for example, fieldname100 and 101), with an initial value of 100 and 101.
At runtime, if fieldname4 is abc, fieldname100 becomes double, is fieldname5 is def, fieldname101 becomes triple the value. How do I programatically calculate the checkbox value? I didn’t understand this from your answer.Thanks
- This reply was modified 3 years, 2 months ago by chrisdias96.
Forum: Plugins
In reply to: [Calculated Fields Form] Conditional Download ButtonHello,
I have a continuation.
I want to hide the download button if there is no pdf_file available.
How do I go about showing or hiding depending on if a link is available?Forum: Plugins
In reply to: [Calculated Fields Form] Conditional Download ButtonGot it working thanks.
Forum: Plugins
In reply to: [Calculated Fields Form] Conditional Download ButtonThanks,
That works but now I have other issues.
If I have 2 buttons, one to calculate and another to download, they both act as an update button and both have the ability to download.Also, I want to hide the download button if there is no pdf, what’s the line of code for that?
Reference: https://bit.ly/2ZO8m6N
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Image Shown According to FieldsI am not sure what you mean, can you specify where I have duplicates values?
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Image Shown According to FieldsThanks for your great help so far.
Please compare 60kwh, 4 hours. Any answer with a ’20 Ft Container’ should have a different image.
Any answer with a ‘Indoor Cabinet’ is working.
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Image Shown According to FieldsThanks,
The first media is changing, although the 3rd is not appearing, I might be missing on my side.
Another thing, how do I center the image using the add css layout keywords? I can manually do it but would like the do it quicker with the plugin, I tried center.
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Image Shown According to FieldsImages should change depending on field Possible enclosure type 1.
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Image Shown According to FieldsOk so it works if one of my 2 fields have a dependency.
I think my issue is I’m comparing the dependency results based off a read only calculated field because the values aren’t updating based off it.
I have fieldname4 and fieldname5, when chosen displays a read only string answer to fieldname19.(a calculated field)
fieldname19 has 3 defined dependencies if value is equal to a specific string, it displays either fieldname 22,38 or 39 (my 3 medias).
When I go to preview, it shows my 3 media images below my calculated field by default, and doesn’t show/hide based on the choices i’m making in fieldname 4 and 5. Am I missing something?
- This reply was modified 3 years, 9 months ago by chrisdias96.
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamic Image Shown According to FieldsThanks for quick response.
I’m not sure if I can show dependencies because the image to display can only be determined after filling out 2 fields.
So I define dependencies on one of the calculated field matching the value to the appropriate picture? From here, I can show a value which would be the correct image, but how do I hide the other images?
- This reply was modified 3 years, 9 months ago by chrisdias96.
Forum: Plugins
In reply to: [Contact Form 7] Capitalize Input on SubmitIs there somewhere in the default code that’s converting the input to lowercase? Would it not be a simple case of finding where it’s converting to lowercase and switching to capitalize?
Forum: Plugins
In reply to: [Contact Form 7] Capitalize Input on Submit@codekraft Thanks,
What file exactly would I find the php to edit this?