---
name: "form_data"
section: "3form"
platform: "linux"
package: "ncurses-doc"
version: "5.9+20140913-1+deb8u3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/data/3form"
---

# form\_data(3form)

test for off-screen data in given forms

Part of [data(3form)](/data/3form.md).

## NAME

**form\_data** - test for off-screen data in given forms

## SYNOPSIS

**#include \<form.h\>**\
 bool data\_ahead(const FORM \*form);\
 bool data\_behind(const FORM \*form);\

## DESCRIPTION

The function **data\_ahead** tests whether there is off-screen data ahead in the given form.  It returns TRUE (1) or FALSE (0).

The function **data\_behind** tests whether there is off-screen data behind in the given form.  It returns TRUE (1) or FALSE (0).

## SEE ALSO

**ncurses**(3NCURSES), **form**(3FORM).

## NOTES

The header file **\<form.h\>** automatically includes the header file **\<curses.h\>**.

## PORTABILITY

These routines emulate the System V forms library.  They were not supported on Version 7 or BSD versions.

## AUTHORS

Juergen Pfeifer.  Manual pages and adaptation for new curses by Eric S. Raymond.
