cath_allen14
Forum Replies Created
-
Forum: Plugins
In reply to: [Flexible PDF Invoices for WooCommerce & WordPress] Change date formatPerfect – thanks ??
Forum: Plugins
In reply to: [Calculated Fields Form] Display field based on radio button selectionHi,
Sorry I don’t think I was clear in my previous reply.
If a user clicks on fieldname8, fieldname11, fieldname14 or fieldname20 then fieldname386 becomes visible.
If they click on fieldname8, fieldname11, fieldname14 or fieldname20 and then they change their mind and click on fieldname26 then the fieldname386 is still visible but I assumed fieldname386 should hide again in this scenario as the equation doesn’t include fieldname26.
Thanks in advance
CatherineForum: Plugins
In reply to: [Calculated Fields Form] Display field based on radio button selectionPerfect thanks – that works!
However, if I click on a Granite radio button (fieldname8, 11, 14 or 20) and then change my mind and click on the Quartz radio button (fieldname26) the value doesn’t reset itself to 0 and therefore the div fieldname386 doesn’t disappear.
Can this be done so the value updates if the user changes their chosen material?
Thanks in advance!
Forum: Plugins
In reply to: [Calculated Fields Form] Display field based on radio button selectionHmm, I still can’t get this to work. Here is a link to my page:
https://ocnprt.com/q-stoneworks/instant-quote/If a customer clicks on a sample image (they’re hidden radio buttons) in Granite Price Band 1 (fieldname8), Granite Price Band 2 (fieldname11), Granite Price Band 3 (fieldname14) or Granite Price Band 4(fieldname20) then a hidden div area (fieldname386) should display under the “4. Select Your Additional Features” section.
Here is my function:
(function(){
IF(OR(fieldname8, fieldname11, fieldname14, fieldname20), 1, 0)
})()I’m not sure what I’m doing wrong!
Thanks in advance
Forum: Plugins
In reply to: [Calculated Fields Form] Display field based on radio button selectionThanks for the quick reply!
I can’t seem to get this to work. Within each fieldname there are 4 or 5 radio buttons, e.g. fieldname1 has 4 radio buttons, fieldname2 has 5 radio buttons etc – if a radio button is selected in either of these fields then I would like to display the text field.
Thanks in advance!
CatherineForum: Plugins
In reply to: [Calculated Fields Form] Text Field Match Substring and convert to uppercaseAhhh brilliant – thanks for such a quick reply!
Catherine
Forum: Plugins
In reply to: [Calculated Fields Form] Take text value from a dropdown boxBrilliant – thanks so much!
Forum: Plugins
In reply to: [Calculated Fields Form] Radio Button Image Title AttributeBrilliant – thanks so much!
Forum: Plugins
In reply to: [Calculated Fields Form] Radio Button Image Title AttributeThat works – thanks!
Only one issue, when the page loads the material box now says ‘undefined’ until you select a radio button. How do I stop this?
https://ocnprt.com/q-stoneworks/quote/
Thanks in advance
Forum: Plugins
In reply to: [Calculated Fields Form] Radio Button Image Title AttributeBrilliant – thanks so much!
One more thing (sorry to be a pain!) – if I have two sets of radio buttons fieldname19 and fieldname24 and want the title tag of both the selected images to appear in the text box, how would I adapt the above code for this?
Thanks in advance!
Forum: Plugins
In reply to: [Calculated Fields Form] Radio Button Image Title AttributeThanks – it would need to be the 2nd option and take the title tag of image as the value of the bullet poits would be a different price.
I’ve added the code but it doesn’t seem to be working:
https://ocnprt.com/q-stoneworks/quote/
If I select the first or second bullet in the Granite Price Brand 1 box then the title text should appear in the ‘material name’ text box above but it doesn’t seem to be working.
Any ideas? The bullet fieldname is <%fieldname19%>
The code I used is:
(function(){
var tmp = fieldname19;
return jQuery(‘[id*=”fieldname19_”]:checked’).siblings(‘span’).find(‘img’).attr(‘title’);
})()Thanks in advance!
Forum: Plugins
In reply to: [Calculated Fields Form] Apply discount if value is greater thanGreat – thanks for your help ??
Forum: Plugins
In reply to: [Calculated Fields Form] Apply discount if value is greater thanPerfect – that works!
Thanks so much.
What if I wanted the discount to be a £ value rather tahn a %. e.g. apply a discount of £50 if the overall total is equal to or greater than £600.
Thanks in advance!