TOPIC:

value of one field depending on more select-fields 11 months 1 week ago #237683

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello,

Thank you for the package.

Your post is now visible. I will take a look at your form and get bak to you.

Regards,

Mihaela

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

value of one field depending on more select-fields 10 months 4 weeks ago #237839

  • Topic Author
  • Mister.Miracle
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 99
  • Karma: 1
  • Thanks: 1
Some idea?

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

value of one field depending on more select-fields 10 months 3 weeks ago #237854

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello,

It turns out that you have an error in Actionscript code for the element "Spezialart" which is causing the form not to work properly.

After correcting the Actionscript to the following code it seems that your form is working as it should.
function ff_Spezialart_action(element, action)
{
    switch (action) {
        case 'change':
			var valSpezialart =JQuery('[name="ff_nm_Spezialart[]"]').val();  
			
			if(valSpezialart=="Value4") {
				ff_getElementByName("Berechnungszeit").value="Testeintrag";
				ff_getElementByName("Berechnungszeit").readOnly=true;
			}
			else if (valSpezialart=="Value5"){
				ff_getElementByName("Berechnungszeit").value="30 min.";
				ff_getElementByName("Berechnungszeit").readOnly=true;
			}

            break;
        default:;
    } // switch
} // ff_Spezialart_action

Also, to make a filed hidden, use this code:
bfToggleFields('off','element','Berechnungszeit',bfDeactivateField);
instead of:
ff_getElementByName("Berechnungszeit").hidden=true;

Let me know whether that resolves the issue.

Regards,

Mihaela

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

Moderators: ForumSupport
Time to create page: 0.049 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

Summer Sale!

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!