gingerstu
Forum Replies Created
-
Forum: Plugins
In reply to: [Gravity Forms MIN/MAX Calculation] fields with null valueThat’s awesome George – much tidier solutiion. Mine was cobbled together with literally zero scripting experience. I’ll see if I can implement yours as it’s more adaptable should i want to add more fields at a later date.
Thanks again,
StuartForum: Plugins
In reply to: [Gravity Forms MIN/MAX Calculation] fields with null valueThe code create a variable for each field, obtaining the value from the field ID
it then tests to see if there is a null entry, if there is, it does nothing, is there isn’t a null entry, it than places that value into an array.
It checks each field building the array as it goes.
it gets to the end, performs a check to obtain the minimum number, writes that to a variable and then updates the field that is meant to contain the minimum number from the array.
Hope this helps someone out in the future.
var c1a; var c2a; var c3a; var c4a; var c5a; var c6a; var c7a; var c8a; var c9a; var minca; const check_age = [] c1a = document.getElementById('input_19_29').value; c2a = document.getElementById('input_19_30').value; c3a = document.getElementById('input_19_31').value; c4a = document.getElementById('input_19_32').value; c5a = document.getElementById('input_19_33').value; c6a = document.getElementById('input_19_34').value; c7a = document.getElementById('input_19_35').value; c8a = document.getElementById('input_19_37').value; c9a = document.getElementById('input_19_38').value; if(c1a == "" ){ } else{ const count = check_age.push(c1a) } if(c2a == ""){ } else{ const count = check_age.push(c2a) } if(c3a == ""){ } else{ const count = check_age.push(c3a) } if(c4a == ""){ } else{ const count = check_age.push(c4a) } if(c5a == ""){ } else{ const count = check_age.push(c5a) } if(c6a == ""){ } else{ const count = check_age.push(c6a) } if(c7a == ""){ } else{ const count = check_age.push(c7a) } if(c8a == ""){ } else{ const count = check_age.push(c8a) } if(c9a == ""){ } else{ const count = check_age.push(c9a) } minca = Math.min(...check_age); document.getElementById('input_19_99').value = minca;- This reply was modified 6 years, 2 months ago by gingerstu.
Forum: Plugins
In reply to: [Gravity Forms MIN/MAX Calculation] fields with null valueHi George . Thanks for the follow up. I assumed something along these lines
I managed to fix it with some java script. I’ll post that later when I’m in front of my laptop. It may help out someone else in the futureThanks
Stuarthi – I managed to “hack a solution” by writing some jquery that executed the form submit action or click of the radio button, and then via css zindex the submit button off of the screen.
you can have a look at the page
herethe two buttons at the bottom of the page
thanks,
stuartForum: Plugins
In reply to: [MaxiCharts] Number fieldsHi
Could you provide a quote to do this?Im looking at an alternative of wpdatatables to create the required table and associated form but if you can develop a solution I would be interested in discussing.
Thanks
StuartForum: Plugins
In reply to: [WP Pipes] invalid url of imageworked a treat, thank you
Forum: Plugins
In reply to: [WP Pipes] No Videosyeah, worked that out, thanks anyway!
I’ve tried reading the documentation – I’m not the most technical person going but happy to persist.
Thanks,
StuartForum: Plugins
In reply to: [WP Pipes] No Videoshi just tested this – with the parse-code you specified it does bring over the video content but now does not bring anything else (text and images)??
Thanks,
StuartForum: Plugins
In reply to: [WP Pipes] No Videoslovely, thank you
Forum: Plugins
In reply to: [WP Pipes] No Videosthanks for the reply. any ideas what the “correct way” would be. i.e. what is the syntax for capturing the <iframe>?
Thanks,
StuartForum: Plugins
In reply to: [WP Pipes] No Videoshere is the feed – not all posts have videos but some do
Forum: Plugins
In reply to: [WP Pipes] exclude contentI’ll take a look – hopefully be able to make sense of it
Forum: Plugins
In reply to: [WP Pipes] exclude contentok, thanks – where can i find the Parser codes and how to use them? The plugin sites seems to be in transition to a new platform and information doesnt seem easily found.
Thanks,
Forum: Plugins
In reply to: [WP Pipes] No Videosany clues on what you “do” with the Combine Processor for it to do it’s thing? Not exactly self explanatory 🙂
Thanks,
StuartForum: Everything else WordPress
In reply to: Theme and Plug-In suggestionsThat’s great, many thanks for that!
What I’m struggling to work out, at a data level, is that if a “member” is logged into my site, they then respond to a poll, how can I tie up the answer provided to the actual user.
Any ideas?
thanks,