TOPIC:

Some problems 2 months 4 days ago #245198

  • Topic Author
  • Leni14
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 129
  • Thanks: 0
Hi,

I have some problems with my 2 forms:

1. Form "Rechnungs-Stammdaten" is not saving when clicking the save-button

2. Form "Rechnung"
a) In Field "Tagessatz" and "Auslagen" the values are not showing as xx,xx€ when user enters only 10 or even 10,00 although I set up the initialscript to do so
b) Field "Betrag netto" remains empty although I set it up in the initialscript to be a calculating field
c) Field "Rechnungsbetrag" remains empty although I set it up in the initialscript to be a calculating field
d) Form "Rechnungs" is not saving when clicking the save-button

This message contains confidential information


Can you help?

Thx,
Leni

Please Log in or Create an account to join the conversation.

Some problems 2 months 4 days ago #245206

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10063
  • Karma: 167
  • Thanks: 799
Hi,

it seems like the scripts package isn't installed.
Can you please check in Manage Scripts and Manage Pieces if you see the package "FF" in the top dropdown (the package selector).

If there is no "FF", then please re-install the package in BF => Configuration => Package Installer. A backup of that package is located in /administrator/components/com_breezingforms/packages/stdlib.english.xml

Regards,
Markus
The following user(s) said Thank You: Leni14

Please Log in or Create an account to join the conversation.

Some problems 2 months 3 days ago #245273

  • Topic Author
  • Leni14
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 129
  • Thanks: 0
They were already there but just to make sure I deleted all scripts and added them again from the backup file.

But the problems are still the same :(

Please Log in or Create an account to join the conversation.

Some problems 2 months 3 days ago #245275

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10063
  • Karma: 167
  • Thanks: 799
Ok, now save your forms, just once and you probably need to re-add the validations and actions before saving because you deleted them :/

Please Log in or Create an account to join the conversation.

Some problems 2 months 3 days ago #245284

  • Topic Author
  • Leni14
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 129
  • Thanks: 0
Hi,

thank you. Unfortunately the "Rechnung" Form is still not working.

The console gives back that this code is not correct/defined. I am probably blind, but I cannot find the error.
function ff_Satz_action(element, action)
{
    switch (action) {
        case 'change':
if(ff_getElementByName('Satz').value == "Stundensatz") {
    
    var Stundensatz1 = ff_getElementByName('Stundensatz').value.replace("€", "");
    var Stundensatz = Stundensatz1.replace(",", ".");
    var Anzahl1 = ff_getElementByName('Anzahl').value.replace("€", "");
    var Anzahl = Anzahl1.replace(",", ".");
    
    var netto1 = Number(Stundensatz) * Number(Anzahl) ;
    var netto2 = Number(netto1).toFixed(2) + "€";
    ff_getElementByName('netto').value = netto2.replace(".", ",");
    //ff_getElementByName('netto').value = Number(ff_getElementByName('Stundensatz').value) * Number(ff_getElementByName('Anzahl').value);
    }
else if(ff_getElementByName('Satz').value == "Tagessatz") {
 
    var Tagessatz1 = ff_getElementByName('Tagessatz').value.replace("€", "");
    var Tagessatz = Stundensatz1.replace(",", ".");
    var Anzahl1 = ff_getElementByName('Anzahl').value.replace("€", "");
    var Anzahl = Anzahl1.replace(",", ".");
    
    var netto1 = Number(Tagessatz) * Number(Anzahl) ;
    var netto2 = Number(netto1).toFixed(2) + "€";
    ff_getElementByName('netto').value = netto2.replace(".", ",");
    ff_getElementByName('netto').value =
    Number(ff_getElementByName('Tagessatz').value) * Number(ff_getElementByName('Anzahl').value);
    }
            break;
        default:;
    } // switch
} // ff_Satz_action

Leni

Please Log in or Create an account to join the conversation.

Some problems 2 months 3 days ago #245287

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10063
  • Karma: 167
  • Thanks: 799
Hi,

ff_Satz_action

Maybe the field name changed? (not title)
If your name (not title) is not Satz, then please change the function name so it maches.

If that wasn't the reason, then please send me the error message, from a syntax point of view there are no issues with the code.

Regards,
Markus

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.041 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!