Skip navigation
Currently Being Moderated

Remote Field

Jun 25, 2007 11:31 AM

Hi,
I do not know if I´m on the right forum, if no please tell me.

I´m new around Live Cycle, but I need to do the following:

I´m able to make a lot of field, and program that ones.
The problems is that for example I need to type my name in 3 fields.
Is it possible to type my name in just 1 field, the 2 other fields fill automaticaly??
How to do it??

Thank´s for any advice.

Gustavo.
 
Replies
  • Currently Being Moderated
    Jun 26, 2007 7:04 AM   in reply to (Gustavo_Del_Vechio)
    One way you can do this I believe is using scripting language, either formcalc or javascript in the xdp. I am assuming you want to do this interactively, so a user is typing in data real time. You could do something like this (Syntax might be incorrect, but this is the jist of it).

    Language: FormCalc, Run At: Client
    Subform1.name1:Change
    ----------------------------
    Subform1.name2 = Subform1.name1;
    Subform1.name3 = Subform1.name1;
     
    |
    Mark as:
  • Currently Being Moderated
    Jun 28, 2007 1:16 AM   in reply to (Gustavo_Del_Vechio)
    Similar to what Cory suggested, but with some logic.
    Language: JavaScript, Run At: Client
    Subform1.dropdown1:Exit
    ----------------------------
    if (this.rawValue == "Colorization")
    priceTextField.rawValue = "9.95";
    else if (this.rawValue == "Photograph")
    priceTextField.rawValue = "79.95"
    // etc.

    Please post these questions in LiveCycle Designer forum.
    Howard
    http://www.avoka.com
     
    |
    Mark as:
  • Currently Being Moderated
    Jul 1, 2007 6:46 PM   in reply to (Gustavo_Del_Vechio)
    Hi Gustavo
    I think you'll have to repost on the right forum. We don't ever do any work directly with databases, we always go via web services, so I don't know how to do this.
    Sorry...
    You can see an example of how to do something like this (using web services) here:

    http://www.avoka.com/apps/checkcookie?location=/resources/resources/Po pulatingaDropDownListusingSQLPlus.pdf

    It might be similar code working directly with the database.
    Howard
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)