TOPIC:

Text fields populate a list 5 months 2 weeks ago #250865

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 5341
  • Karma: 3
  • Thanks: 381
Hi again,

here is an example

File Attachment:

File Name: form_textf...edit.zip
File Size:8 KB


I edit the code in actionscript for textfields

Regards,
Tihana
Attachments:
The following user(s) said Thank You: Luisserafim

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

Text fields populate a list 4 months 5 days ago #252292

  • 1987Jan
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 122
  • Thanks: 1
Good evening tihana.krivic

That's great code.

I would like to extend the code with your help.

I have a very large form (you already know that!). You can name up to 15 patients in my form.

On the next but one page you can choose observers for an exercise and this is exactly the list that should appear there.

15 patients, 10 observers.

How do I have to extend your code so that the names of all (possible) patients are in the list for each observer?

I hope the google translator translated that in an understandable way :)

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

Text fields populate a list 4 months 5 days ago #252297

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 5341
  • Karma: 3
  • Thanks: 381
Hi,

basically, for each patients you can add the code.
I will edit my example and get back to you :)

EDIT:
Here is an example with 15patients and 10 observers

File Attachment:

File Name: example21.zip
File Size:25 KB

The code is located in each patients->Advanced->Actionsctipt

If you need more help, please let me know

Regards,
Tihana
Attachments:

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

Last edit: Post by tihana.krivic.

Text fields populate a list 3 months 3 weeks ago #252651

  • 1987Jan
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 122
  • Thanks: 1
Oh. Unfortunately I have not received any notification.

Many Thanks. This looks very good. :Kuss:
Can you also integrate other elements?

I also integrated the age and the injury into each patient. Code looks like this on a patient.

Patient ONE's data then became
- Employees 1 & 2 and
- Observer 1
copied.

Patient TWO's data then became
- Employees 3 & 4 and
- observer 2
copied.

This is what the code currently looks like.
function ff_name_p3_action(element, action)
{
var a3 = ff_getElementByName('p3d').value;
var b3 = ff_getElementByName('name_p3').value;
var c3 = ff_getElementByName('age_p3').value;
var d3 = ff_getElementByName('p3wahl').value;
var e3 = ff_getElementByName('nbesch3').value;

ff_getElementByName('be_pa3').value = b3 + " " + c3 + "j." + "," + " " + "=" + " " + a3;
ff_getElementByName('map3').value = "( " +b3 + " " + c3 + "j." + ")" + " " + a3 + " " + "=" + " "+ d3 + " " + e3;
JQuery(ff_getElementByName('be_pa3')).trigger("change");
}

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

Text fields populate a list 3 months 3 weeks ago #252674

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 5341
  • Karma: 3
  • Thanks: 381
Hi,

ok, give me some time for this, on Monday I am a little crowded
If there is no answer of mine, please remind me

Regards,
Tihana
The following user(s) said Thank You: 1987Jan

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

Text fields populate a list 3 months 1 week ago #253274

  • 1987Jan
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 122
  • Thanks: 1
Hello,

i wanted to ask if you got any further?

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

Time to create page: 0.052 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!