Refresh Field's on KeyWordsChange on Web

Hi
I have a keyword's field(Field name is "categorie") on a form and it contains 5 keywords.
I have another 5 keyword's fields on the form, namely keyword_2,keyword_3
Keyword_4,keyword_5 and keyword_6 .
If i select first keyword from the "categorie" keyword  field then the keyword_1 field should appear on the form and the remaing keywords fields should be hidden.
If i select second keyword from the "categorie" keyword field then the keyword_2 field should appear on the form and the remaing keywords fields should be hidden.
Then same logic for other keywords.

............................
This should work on the WEB.
............................

Thanks in advance
Purna.
Email : purugulla@hotmail.com

purugullaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

purugullaAuthor Commented:
0
purugullaAuthor Commented:
Thanks
0
HemanthaKumarCommented:

Have a button (say "Reload")next to the category field which contains @Command([ViewRefreshFields]) , user should click this button after he changes the keyword to a new value. This will force the new changes to be reflected on the web.

There is no other way to refresh the document similar to that in notes.

Good Luck
~Hemanth
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

purugullaAuthor Commented:
Hi Hemanth,
Thanks for your response. I used this
logic already.But when editing the
document , if the user selects first keyword from "categorie" keyword field and he clcks the button then the corresponding keyword field will appear.
Then if the user changes the value in the "categorie" keywords field and if he didn't clicks the button, the old keywords field will appear .

So i want the logic to force the user to click the "refresh button" every time he changes the keywords in the "categorie" keywords field.

Thanks
Purna.(purugulla@hotmail.com)    
0
ghassan99Commented:
If you are using R5, it works just like Notes.  Just enable the field's 'Refresh Fields on Keyword Change' property.
0
HemanthaKumarCommented:
Hi Purna

Hope this might help you.

Use this script in the help description of the "categorie" field.

[<onclick = "alert('Please click the reload button for the changes to take over')">]

Which will prompt the user to hit the reload button for the changes to be reflected.


~Hemanth
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.