sdevad
Forum Replies Created
-
Forum: Plugins
In reply to: [Category Posts Widget] No PaginationHi!
I have updated to the latest version of the plugin but I can’t seem to show more posts then 10. Is this possible and if it is how? https://www.hubner-photonics.com/press-and-events/
Forum: Plugins
In reply to: [Calculated Fields Form] calculate vatHi @codepeople
But instead of getting my information that I don’t understand you could have get me information that I could use?
It’s not step by step. It’s just two questions if you read my questions.
Forum: Plugins
In reply to: [Calculated Fields Form] calculate vatHi @codepeople,
Can you please be more specific.
See questions below.
1. For the radio buttons (25%,12%,6%)
Should I use: Radiobuttons?
Settings: I don’t need to change anything here
2. For the inkl. moms
Should I use a number field?
Settings: I don’t need to change anything here
3. For the exkl. moms
Should I use a number field?
Settings: I don’t need to change anything here
4. For the momssumma
Should I used calculated fields?
Settings: fieldname2/(1+fieldname4/100)
fieldname2-fieldname3 (depending on which number the fields have then)5. Additional
Should I use html content field?
Settings: <script>
var field_edited = 0;
jQuery(document).on(‘keydown’, ‘[id*=”fieldname2_”]’, function(){field_edited = 2;});
jQuery(document).on(‘keydown’, ‘[id*=”fieldname3_”]’, function(){field_edited = 3;});
jQuery(document).on(‘keydown’, ‘[id*=”fieldname4_”]’, function(){field_edited = 4;});
</script>
6. Additional script
Where should I put this code?
(function(){
if(field_edited == 2) return fieldname2/(1+fieldname1/100);
if(field_edited == 3) return __ME__;
if(field_edited == 4) return fieldname4/(fieldname1/100);
})()- This reply was modified 7 years, 6 months ago by sdevad.
Forum: Plugins
In reply to: [Calculated Fields Form] calculate vatHi @codepeople!
I have tried some different approaches. Can you please guide me a bit?