View Single Post
  #2 (permalink)  
Old September 6th, 2007, 09:48
satya_m satya_m is offline
Junior Member
 
Join Date: May 2007
Location: Singapore
Posts: 26
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
satya_m is on a distinguished road
Re: Mandatory Field - Red Star

Hi Saufil,

After having a look at the attached image, i understand that you have modified your xsl/jspx to make the Order Release ID as a mandatory field.

I am not aware of any way to remove the RED STAR from mandatory fields. Once you specify 'required = true' , this star appears on your field. One workaround i can suggest is to make it a normal text field ( required = false) and put in some javascript which will give an alert prompting the user to fill in the OR ID. This way it will remove the RED STAR and still satisfies the mandatory requirement ( prompting the user to fill in the field before finishing or navigating to other tabs). try screenValidate().

I don't think the second part of your question is possible (unless you write your own utility method which will generate a seq no and invoke that method from your xsl to get the seq no and populate the OR ID field).Not sure of any other ways.
Reply With Quote