• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Program action of a page dynamically depending on the link from where it is called

 
mihir maniar
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a page with 10 text boxes to be filled. i want to use it for multiple purposes in such a way that at time i want to make former 5 fields mandatory if i come from login page , and latter 5 non-mandatory. While other times i want to make the latter 5 fields mandatory and the former 5 fields non mandatory. so what i do is i map the action to the validations in the validations.xml instead of the form. but my problem is how do i set the action of this form as per the link from which form is called. i hope my question is clear.Any kind of help is appreciated. Thanks in Advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic