Home
TeamSite
When reopen the DCT, the old values in select item not preserving.
sniv
Hello,
I have Month fileld which is select item with no of months in DCT. I set value in Month field and save the DCT . Then When I reopen the DCT then The Month Field showing the OLD Selected Month but other all month list not showing in specific format. they showing in English format only.
e.g -
once I save the Month in spanish and Reopen it, the month dropdown is poulated in English and NOT in Spanish. It need to show Spanish months in the month dropdown. (it's showing only selected month in Spanish, and others all months are coming as English in the dropdown).
Here Attaching the DCT also. Please help me out to resolve this issue.
Find more posts tagged with
Comments
Migrateduser
This code looks familiar, that's write I wrote most of it for you in an earlier post. Currently the months only change when the field is changed. You're going to have to check the selected language field on open and then populate the language fields.
Migrateduser
I took on the challenge and re-wrote the original stuff I sent you.
Here you go.
You'll have to reimplement for yourself.
nipper
This was probably fixed by the posts above, but in case it is not.
This happens often when using formapi to populate a select list. Say I have list with no entries in the DCT. Formapi runs and sets choices 1-6, user select 3 and saves.
On open, formapi runs and sets choices to 1-6 again (and not marking #3 selected). Furthermore, it appears that the wrong formapi commands are running since it is loading the select list in English when the user has selected Spanish previously. It should read that selection on form init and use the correct language.
Requires some dev work, but not too hard.
HTH
Andy
sniv
Thanks a lot for solution...it's working fine....It displaying the language specific Month's in the list now....
Thanks a tons...