![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
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 |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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:
- 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 |
|
![]() |
|
![]() |
|
Use a pre-op trigger (see wsconfig/triggers)
... if (($issue_area eq "SW") && ($sw_version =~ /\d/)) { die "Please enter the software version\n"; } ... |
|
![]() |
Telelogic SYNERGY
» SYNERGY/Change
»
How to get a popup boxes?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.