otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire


Branding, Screen Sets, XSL/CSS and Translations Customizing and Branding the UI of OTM / G-Log for your site, using Custom Screen Sets, Menu Managers, XSL/CSS customizations, Translations and more.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 4th, 2007, 03:44
Junior Member
 
Join Date: May 2007
Posts: 10
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
saufil chang is on a distinguished road
Mandatory Field - Red Star

Hi All,

Any idea how to remove the Red star for mandatory Field, and i need to replace with running number for order release ID, because currently my system manually key in that order release ID.Please Help me...Important

Thanks
Saufil
Attached Images
File Type: jpg id.jpg (8.9 KB, 4 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old September 6th, 2007, 08:48
Junior Member
 
Join Date: May 2007
Location: Singapore
Posts: 29
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 1
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old September 7th, 2007, 01:40
Junior Member
 
Join Date: May 2007
Location: Singapore
Posts: 29
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0
satya_m is on a distinguished road
Re: Mandatory Field - Red Star

Hi Saufil,

You can also use the current datetime to populate your OR ID and make it readonly. In this case you won't need to use the screenvalidate() or put any mandatory validation on this field.

Hope this helps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old September 8th, 2007, 00:53
Junior Member
 
Join Date: May 2007
Posts: 10
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
saufil chang is on a distinguished road
Re: Mandatory Field - Red Star

Thanks satya,

where i need to modify required='yes' or required='no', Please advise.

Thanks
saufil
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old September 10th, 2007, 02:54
Junior Member
 
Join Date: May 2007
Location: Singapore
Posts: 29
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0
satya_m is on a distinguished road
Re: Mandatory Field - Red Star

Hi Saufil,

In your xsl, search for 'order_release/xid' . You will find something like this in the same template.

<xsl:with-param name="required">true</xsl:with-param>. change the 'true' to 'false'.

If you are using jspx, search for the same string 'order_release/xid' , you will find an attribute in the same template which will be like - required='true' , make it false.

To find out which xsl/jspx you have to modify, open your new/edit page in a new window and on the top to the left side you will find an icon ( OTM or GC3). Click on it, it will display the xml and in the 2nd or 3rd line, you will see the xsl/jspx name.

Regards
Satya
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Splittable Field in CU4 Order Release miks Order Processing 5 August 25th, 2009 11:06
Is Oracle 11g (11.1.0.7) EE is mandatory for OTM 6.0 installation? MURTHYKO Installation and Upgrades 1 July 24th, 2009 09:09
Date/Time Field anirban1982 Workflow and Agents 0 April 12th, 2009 10:14
Mandatory fields in Order Release JayVal Order Processing 4 December 11th, 2008 14:35
Stacking Index field on Items does not appear new_otm Data Loading 0 April 15th, 2008 14:59



All times are GMT. The time now is 00:45.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40