Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: How to get a popup boxes?
Topic Summary: How to get a popup box on the submit page if the attribute value is empty?
Created On: 18-Jul-2006 19:12
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 18-Jul-2006 19:12
User is offline View Users Profile Print this message


Dwight Hartman

Posts: 1
Joined: 28-Jul-2005

Hi All,
            I'm trying to find a way to get a popup box on the submit page.
I want to make an attribute (lets say SW_Version) as optional and place a postop trigger for that attribute and when users try to click on save, a popup box should appear only if "issue_area=SW" and ask them to fill in the value for SW_Version.

I tried to do by java scripting but I had no luck.

Any suggestions?

Thanks in advance
Report this to a Moderator Report this to a Moderator
 31-Jul-2006 14:00
User is offline View Users Profile Print this message


michael Barnes

Posts: 85
Joined: 12-Nov-2003

Could probably be done by modifying the form definition produced by Synergy, but that would require re-application each time you re-generate a package.

Three thoughts spring to mind:

    - Use a different submit form
    - Train the users to put in the correct information
    - Define a new Web Type for the SW_Version attribute, and put the logic in there (but I don't know how easy it is to look at other attributes on the form to do the validation)


Edited: 31-Jul-2006 at 14:04 by michael Barnes
Report this to a Moderator Report this to a Moderator
 16-Aug-2006 23:22
User is offline View Users Profile Print this message


Steve Borchers

Posts: 10
Joined: 26-Apr-2004

Use a pre-op trigger (see wsconfig/triggers)
...
if (($issue_area eq "SW") && ($sw_version =~ /\d/)) {
die "Please enter the software version\n";
}
...
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.