TOPIC:

ADDed rows hidden in edit form 5 years 4 months ago #141118

  • totallnet's Avatar Topic Author
  • totallnet
  • Offline
  • Gold Breezer
  • Gold Breezer
  • Posts: 325
  • Thanks: 11
Chrisal

You can not give more detailed sample ??

Kazuo
Kazuo
Level I support
Official Breezing Forms Support
Skype: totallnet 18pm-22pm -3UTC
===============================================
Satisfied? Consider a membership!
===============================================
Follow us on Twitter
===============================================

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

ADDed rows hidden in edit form 5 years 4 months ago #141491

  • guillegal's Avatar
  • guillegal
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 7
  • Thanks: 0
Hi Chrisal, could you please help us with the code to show add-rows fields in the edit view

Thanks!!!

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

ADDed rows hidden in edit form 5 years 3 months ago #141613

  • chrisal's Avatar
  • chrisal
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 6983
  • Karma: 187
  • Thanks: 629
Hello guillegal & totallnet,


is it possible to send me your forms(just attach them to your next post) so i can implement it directly?


regards
Chris

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

ADDed rows hidden in edit form 5 years 3 months ago #141625

  • totallnet's Avatar Topic Author
  • totallnet
  • Offline
  • Gold Breezer
  • Gold Breezer
  • Posts: 325
  • Thanks: 11
My XML and scripts are attached

Thanks in advance
Kazuo
Level I support
Official Breezing Forms Support
Skype: totallnet 18pm-22pm -3UTC
===============================================
Satisfied? Consider a membership!
===============================================
Follow us on Twitter
===============================================
Attachments:

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

Last edit: Post by totallnet.

ADDed rows hidden in edit form 5 years 3 months ago #142207

  • LeaMaria
  • Offline
  • Developer
  • Developer
  • Posts: 308
  • Karma: 7
  • Thanks: 38
Hello,

what you need to do is enable the elements with Javascript in the init script of the form.

Assuming you have an element with the name "myelem" and a section called "mysec" including this element.

Now in your initscript you can do something like this (assuming your form is named "myForm"):
function myForm_initscript(){

if(ff_getElementByName('myelem').value!=''){ // if the element is not empty 
   bfToggleFields('on','section','mysec',bfDeactivateField); // enable the the section including this element
  
}
}

This code needs to be placed in Form settings->advanced->more options ->scripts->initscript
Regards,
Lea

===============================================
Satisfied? Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================

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

ADDed rows hidden in edit form 5 years 3 months ago #143056

  • guillegal's Avatar
  • guillegal
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 7
  • Thanks: 0
Thanks LeaMaria, it works for me!!!

;)

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

Moderators: ForumSupport
Time to create page: 0.056 seconds

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!