otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
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.

Tags:

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 4th, 2007, 04:44
Junior Member
 
Join Date: May 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 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, 3 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old September 6th, 2007, 09:48
Junior Member
 
Join Date: May 2007
Location: Singapore
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
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, 02:40
Junior Member
 
Join Date: May 2007
Location: Singapore
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
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, 01:53
Junior Member
 
Join Date: May 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 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, 03:54
Junior Member
 
Join Date: May 2007
Location: Singapore
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
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
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
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
Field value showing in report builder but not in OTM geetika Reports / FTI and Other Analytics 0 October 15th, 2007 11:14
[SOLVED] Notes from the field: Applying OTM 5.5 Consolidated Update #1 Roll Up #1 (5. acuartero Patches 0 June 27th, 2007 22:27



All times are GMT. The time now is 16:11.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


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