FORMS(3) BSD Library Functions Manual FORMS(3)NAME
field_count, form_fields, move_field, set_form_fields -- form library
LIBRARY
Curses Form Library (libform, -lform)
SYNOPSIS
#include <form.h>
int
field_count(FORM *form);
FIELD **
form_fields(FORM *form);
int
move_field(FIELD *field, int frow, int fcol);
int
set_form_fields(FORM *form, FIELD **fields);
DESCRIPTION
The field_count() function returns the number of fields that are attached to the given form, if the form argument passed is NULL then
field_count() will return -1. The function form_fields() will return a pointer to array of attach fields for the given form, this array is
not NULL terminated, fields may be attached to the given form by calling set_form_fields(). The fields argument in this function is a
pointer to a NULL terminated array of fields that will be attached to the form. If there are already fields attached to the form then they
will be detached before the new fields are attached. The new fields given must not be attached to any other form. The move_field() function
will move the given field to the location specified by frow and fcol.
RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following
error values:
E_OK The function was successful.
E_CONNECTED The field is connected to a form.
E_POSTED The form is currently posted to the screen.
E_BAD_ARGUMENT The function was passed a bad argument.
SEE ALSO curses(3), forms(3)NOTES
The header <form.h> automatically includes both <curses.h> and <eti.h>.
BSD January 1, 2001 BSD
Check Out this Related Man Page
FORMS(3) BSD Library Functions Manual FORMS(3)NAME
field_count, form_fields, move_field, set_form_fields -- form library
LIBRARY
Curses Form Library (libform, -lform)
SYNOPSIS
#include <form.h>
int
field_count(FORM *form);
FIELD **
form_fields(FORM *form);
int
move_field(FIELD *field, int frow, int fcol);
int
set_form_fields(FORM *form, FIELD **fields);
DESCRIPTION
The field_count() function returns the number of fields that are attached to the given form, if the form argument passed is NULL then
field_count() will return -1. The function form_fields() will return a pointer to array of attach fields for the given form, this array is
not NULL terminated, fields may be attached to the given form by calling set_form_fields(). The fields argument in this function is a
pointer to a NULL terminated array of fields that will be attached to the form. If there are already fields attached to the form then they
will be detached before the new fields are attached. The new fields given must not be attached to any other form. The move_field() function
will move the given field to the location specified by frow and fcol.
RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following
error values:
E_OK The function was successful.
E_CONNECTED The field is connected to a form.
E_POSTED The form is currently posted to the screen.
E_BAD_ARGUMENT The function was passed a bad argument.
SEE ALSO curses(3), forms(3)NOTES
The header <form.h> automatically includes both <curses.h> and <eti.h>.
BSD January 1, 2001 BSD
hi
i am a new unix user
i want to check whether a file contains spacefied no of fields
if so i should delete last fields
and then insert some fields in 2nd field
please help me
Thanks Regards
babu :mad: (7 Replies)
Hi,
My Query ::: In attached file -- Column 1 is duration1 and column2 having a field duration2 ...
I want fields having duration1 > 3600 ,with corresponding duration2 ..
output of two fields should be like this only ---
duration1 duration2
4209 4209
Note: Few other... (2 Replies)
Dear all,
I am facing one problem
in my input file there are many Entries which starts from *FIELD * AV (checked the attached file)
I want all the entries in the output file which start from
*FIELD * AV
I have written this programm but its not printing all the entries with *FIELD... (4 Replies)
I have an input form with several fields. What I would like to achieve is to auto populate or copy certain fields if they are empty when the form is submitted. I would like to use php if not then javascript but not jquery if possible - I have sort of had a go but I really have no idea... (4 Replies)
Hello again,
I'm having a issue with a contact form. I want the input fields to be aligned on same row and I really dont know how to do it.
I attached a image for you to understand what i am trying to do.
<BR>
<label for="name" class="required">
Name <strong... (1 Reply)
So, I have three problems that cover this subject.
First one asks me to find the number of fields in the file that contain the substring "he". I found the number of fields, but the problem I have is that they are displaying by each record. I want to add all of the records' fields together.
With... (2 Replies)