Sponsored Content
Full Discussion: fmli "Form" question
Top Forums Shell Programming and Scripting fmli "Form" question Post 302103781 by sb008 on Sunday 21st of January 2007 02:33:56 PM
Old 01-21-2007
fmli "Form" question

Suppose I have a Form with 5 fields.

2 of these fields have their imput limited by a rmenu choice. e.g. field1 and field2.

The rmenu choices of field2 are also limited by the choice made for field1.

name=filed1
rmenu=vary { a b c d }

name=field2
rmenu=vary { `script $F1` }

Initially the Form is presented with all fields empty. After filling the Form one could decide to change the value for field1. The value for field2 remains the same then. However that value could be invalid based on the new value for field1.

So whenever field1 is changed, I would like to see field2 to be cleared.

Any ideas how to do this?

TIA
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. UNIX and Linux Applications

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or question of my own) is: Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
Discussion started by: talipk
0 Replies

3. UNIX for Advanced & Expert Users

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have a problem about the Oracle related components. I'm not able to find any answer yet, and waiting for your responses... Here is the configuration of my system: * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or... (1 Reply)
Discussion started by: talipk
1 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Web Development

Attaching " Thank You " pop-up window in php form mail code

Dear Sir, I have got a php mail form code. Using this code, I want to use the JavaScript for " Thank You " pop-up window in the php form mail code. Where do I add the pop-up JavaScript for "thank you" ? My code is as follows: <?php //--------------------------Set these... (1 Reply)
Discussion started by: swapan
1 Replies

6. Shell Programming and Scripting

Question about the difference between "for" and "while" loop

dear all, i got some questions about for/while loop when working on redirect command output to for/while loop. take one for example : in for loop : allfiles=`find /var/log -maxdepth 1 -type f -mtime +5` index=1 for ((i=0; i<${#allfiles}; i++)); do echo "$index:${allfiles}" ... (2 Replies)
Discussion started by: tiger2000
2 Replies

7. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

9. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
fmli(1) 							   User Commands							   fmli(1)

NAME
fmli - invoke FMLI SYNOPSIS
fmli [-a alias_file] [-c command_file] [-i initialization_file] filename... DESCRIPTION
The fmli command invokes the Form and Menu Language Interpreter and opens the frame(s) specified by the filename argument. The filename argument is the pathname of the initial frame definition file(s), and must follow the naming convention Menu.xxx, Form.xxx, or Text.xxx for a menu, form or text frame respectively, where xxx is any string that conforms to UNIX system file naming conventions. The FMLI descrip- tor lifetime will be ignored for all frames opened by argument to fmli. These frames have a lifetime of immortal by default. OPTIONS
The following options are supported: -a alias_file If -a is specified, alias_file is the name of a file which contains lines of the form alias=pathname. Thereafter, $alias can be used in definition files to simplify references to objects or devices with lengthy pathnames, or to define a search path (similar to $PATH in the UNIX system shell). -c command_file If -c is specified, command_file is the name of a file in which default FMLI commands can be disabled, and new application-specific commands can be defined. The contents of command_file are reflected in the FMLI Command Menu. -i initialization_file If -i is specified, initialization_file is the name of a file in which the following characteristics of the appli- cation as a whole can be specified: - A transient introductory frame displaying product information - A banner, its position, and other elements of the banner line - Color attributes for all elements of the screen - Screen Labeled Keys (SLKs) and their layout on the screen. EXAMPLES
Example 1: Examples of the fmli command. To invoke fmli: example% fmli Menu.start where Menu.start is an example of filename named according to the file name conventions for menu definition files explained above. To invoke fmli and name an initialization file: example% fmli -i init.myapp Menu.start where init.myapp is an example of initialization_file. ENVIRONMENT VARIABLES
Variables LOADPFK Leaving this environment variable unset tells FMLI, for certain terminals like the AT&T 5620 and 630, to download its equivalent character sequences for using function keys into the terminal's programmable function keys, wiping out any set- tings the user may already have set in the function keys. Setting LOADPFK=NO in the environment will prevent this download- ing. COLUMNS Can be used to override the width of the logical screen defined for the terminal set in TERM. For terminals with a 132-col- umn mode, for example, invoking FMLI with the line COLUMNS=132 fmli frame-file will allow this wider screen width to be used. LINES Can be used to override the length of the logical screen defined for the terminal set in TERM. FILES
/usr/bin/fmli ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
vsig(1F), attributes(5) DIAGNOSTICS
If filename is not supplied to the fmli command, fmli returns the message: Initial object must be specified. If filename does not exist or is not readable, fmli returns an error message and exits. The example command line above returns the follow- ing message and exits: Can't open object "Menu.start" If filename exists, but does not start with one of the three correct object names (Menu., Form., or Text.) or if it is named correctly but does not contain the proper data, fmli starts to build the screen by putting out the screen labels for function keys, after which it flashes the message: I do not recognize that kind of object and then exits. SunOS 5.10 14 Sep 1992 fmli(1)
All times are GMT -4. The time now is 04:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy