Skip to Content
avatar image
Former Member

Adobe form - two text fields with the same value

Hi experts!

I need make text field (matnr) in header of page equal to field(matnr) in table.

Any ideas?

thanks

Larissa

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Nov 24, 2008 at 11:43 AM

    Hi,

    You need to first write a line of code to check the length of the string (MATNR) & then write one more line of script to dynamically set the lenght of the two fields.

    Regards,

    Hanoz

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 26, 2008 at 09:56 PM

    Hi Larissa,

    I hope I'm reading this right...

    I have run into problems myself with two fields having the same name in a form. If you want the entries in both fields to be identical, what I would suggest is binding one of the fields to the backend, and then, make the other field type Calculated - Read Only. Within the calculated form calc script, use the following:

    $.rawValue = <headerName>.<fieldName>.rawValue

    Hope this helps...

    Cheers,

    Kevin

    Add comment
    10|10000 characters needed characters exceeded