Fields in tabbed table

Hi All,

I have a tabbed table on a form.

There are some fields(text,dialogue list,radio buttons) in 1st tab(Preliminary) and the same fields are in 2nd tab(Final).

If I enter the field values in 1st tab and click on “Move” action button, the same field values should be populated to respective fields in 2nd tab(so user need not to re-enter the values).

This is for Web use.

Can anyone guide me!

Thanks in Advance!

-Nagendra Prasad

Subject: Fields in tabbed table

Does the action ‘Move’ refreshes the page??. If page get refreshed, all your cached values are gone. Javascript can’t help you here.

Adi

Subject: RE: Fields in tabbed table

Hi Adi,

Thanks for ur response.

Move action doesnt refresh the form but it will some validations and links 1st tab to 2nd tab.

-Prasad

Subject: RE: Fields in tabbed table

Kewl…Then on click of the Move action, just get the field values from 1st tab fields and assign them to corresponding fields on 2nd tab.

If you are using Prototype.ja, you can write javascript as simple as below:

$(‘2ndtabfield’).value = $F(‘1sttabfield’);

Note: 2ndtab fields must be of type ‘editable’ with html attribute ‘Readonly’.

HTH

Adi

hth

Adi

Subject: RE: Fields in tabbed table

Thanks Adi…I’ll defenetely try and get back to you…

-Prasad

Subject: RE: Fields in tabbed table

Hello Adi,

i forgot to tell U…iam not using Prototype.ja…

just have to copy field values from 1st tab to 2nd using java script.

how to goahead now!?

Pls guide!

-Prasad

Subject: Fields in tabbed table

Why do you have the same editable fields listed twice? Can the second tab display the first tab values via computed-for-display field? If there are any edits necessary, the user could navigate back to the 1st tab?

Subject: RE: Fields in tabbed table

Hi John…

Thanks much for ur quick response…

The fields are like quisitionairre…need to pass/copy/display the 1st tab field values to respective fields in 2nd tab…edits may not require for 2nd tab.

user doesnt/cannot go back to 1st tab…he has to create another document…there are lots of validation/computations involved before routing to 2nd tab.

This is like ROUTING type of application.

routing from 1st tab(preliminary) to 2nd tab(final) and from here he moves to close-out tab(3rd tab).Am I confusing U!?

Thanks

-N P

Subject: RE: Fields in tabbed table

So if the user can not go back to the 1st tab and the user can not make edits to the fields on the second tab that are retrieved from the 1st tab, I’d reccomend making the fields on the 2nd tab computed-for-display with the field values set to the fields on the 1st tab. Hope this helps.

Subject: RE: Fields in tabbed table

I might add that you could use workspace.picklistcollection to open the first form with the editable fields and then as John mentions, use computed for display fields to show the values entered.

Shawn

Subject: RE: Fields in tabbed table

Hello John and Shawn,

THank much for ur suggestions.

This application is running on web browser.

Is there any thing to do with Javascript!

Please guide.

Thanks

-N P