eberkland
Forum Replies Created
-
Thank you. I already looked through the documentation.
I am wondering how to run a calculation in aux field and hide the button after OnClick
Thank you so much. Blazing fast now. Great plugin.
Forum: Plugins
In reply to: [Custom Post Type UI] Database Query HelpI found another direction to go since my question, but still am having issues.
I am creating a pricing calculator using the calculated field form plugin and I want to create a pop up on the page that shows posts related to the product being priced.
The plugin allows for setting variables on pages and then calling them, but this is not working. I am wondering if it is because the pages I am referencing are custom post types… here is some details on how this plugin sets variables https://cff.dwbooster.com/documentation/#javascript-variables
Forum: Plugins
In reply to: [Calculated Fields Form] Assigning radio button labels with data-cff-fieldThanks, I think I figured it out.
(function() {
var valueFromField1 = getVal(‘fieldname1’); // Get value from fieldname1
var valueFromField2 = getVal(‘fieldname2’); // Get value from fieldname2
var valueFromField3 = getVal(‘fieldname3’); // Get value from fieldname3
var valueFromField4 = getVal(‘fieldname4’); // Get value from fieldname4// Concatenate values with additional text
var updatedTextA = ‘Text A: ‘ + valueFromField1 + ‘, ‘ + valueFromField2 + ‘, ‘ + valueFromField3 + ‘, ‘ + valueFromField4 + ‘ – Extra text goes here’;getField(6).setChoices({
texts: [updatedTextA, ‘Text B’], // Insert updated “Text A” with additional text
values: [123, 456] // Keep values unchanged
});
})();Forum: Plugins
In reply to: [Calculated Fields Form] Assigning radio button labels with data-cff-fieldHow would you express ?<data-cff-field=”fieldname2315″> as an object.
I am able to do this maually in the radio field label.
- This reply was modified 1 month, 4 weeks ago by eberkland.
Forum: Plugins
In reply to: [Calculated Fields Form] Assigning radio button labels with data-cff-fieldso would this work?
getField(6).setChoices(texts:[‘<span class=”bprice-label-t”>Everyday</span><span class=”bprice-label-n”><span data-cff-field=”fieldname2315″ class=”bprice-w”>’, ‘choice B’], values: [fieldname4, fieldname5]);
that is my question, in the radio button field label, I would like to put a label and values from a field, forget about the styling and classes. I want to know what type of syntax to use to make this happen.
Thanks
Forum: Plugins
In reply to: [Calculated Fields Form] Assigning radio button labels with data-cff-fieldOK, here is the question and it does not require a screenshot. In this scenario:
getField(6).setChoices(texts:['choice A ', 'choice B'], values: [fieldname4, fieldname5]);
Can choice A be ‘<span class=”bprice-label-t”>Everyday</span><span class=”bprice-label-n”><span data-cff-field=”fieldname2315″ class=”bprice-w”></span><span data-cff-field=”fieldname2316″ class=”bprice-w”></span><span data-cff-field=”fieldname2317″ class=”bprice-w”></span></span>’
Can choice for texts be any sort of ‘<span data-cff-field=”fieldname2316″></span>’ to show the label and a value in the radio button.
Forum: Plugins
In reply to: [Calculated Fields Form] Format Dynamically for Number FieldDISREGARD. A password manager extension in chrome was conflicting with the equation editor. I removed it and cleared cache and Format Dynamically is working.
This is a private site, if I send login credentials will they be hidden?
Forum: Plugins
In reply to: [Calculated Fields Form] Check a Checkbox with CodeDisregard last question. If everything else stays and is selectable. My problem is solved. You can mark as resolved. Thanks.
Forum: Plugins
In reply to: [Calculated Fields Form] Check a Checkbox with CodeAre we talking JQuery using .prop(‘checked’,true) similar to this question; https://www.ads-software.com/support/topic/jquery-checkbox-propchecked-true/
Forum: Plugins
In reply to: [Calculated Fields Form] Check a Checkbox with CodeThanks. What if there is an item that is not a fruit or a vegetable as an option in fieldname2, like say a pizza or a gallon of milk? Will those remain unchecked but remain as a selection option?
Forum: Plugins
In reply to: [Calculated Fields Form] data-cff-field modifiers? for drop downThank you!
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Using Singlepic with a templateI’m having this same problem. Has this been resolved?