set_current_field(), current_field(), set_form_page() - set and get form page number
#include <form.h>
int set_current_field(FORM *form, int page);
FIELD *current_field(FORM *);
int set_form_page(FORM *form, int n);
int form_page(FORM *form);
The function set_current_field(3) sets the current field of the given form; current_field(3) returns the current field of the given form.
The function set_form_page(3) sets the form's page number (goes to page n of the form).
The function form_page(3) returns the form's current page number.
Except for form_page(3), each routine returns one of the following:
curses(3)
forms(3)
The header file <form.h> automatically includes the header file <curses.h>.
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.