ELinks 0.16.1.1
form Struct Reference

#include <forms.h>

Collaboration diagram for form:

Data Fields

void * magic1
struct formnext
struct formprev
void * magic2
int form_num
 The value of form_num serves both as a unique ID of the form.
int form_end
char * action
char * name
char * onsubmit
char * target
enum form_method method
void * ecmascript_obj
struct el_form_control list items

Field Documentation

◆ action

char* form::action

◆ ecmascript_obj

void* form::ecmascript_obj

◆ form_end

int form::form_end
See also
form_num

◆ form_num

int form::form_num

The value of form_num serves both as a unique ID of the form.

However form_num and form_end also stores information about where in the source the form is positioned. Combined they are used to figured which form items belong to which forms after rendering tables.

Initially the range between form_num and form_end will stretch from 0 to INT_MAX. When a new form is added the range is partitioned so the forms each has unique source ranges.

◆ items

struct el_form_control list form::items

◆ magic1

void* form::magic1

◆ magic2

void* form::magic2

◆ method

enum form_method form::method

◆ name

char* form::name

◆ next

struct form* form::next

◆ onsubmit

char* form::onsubmit

◆ prev

struct form* form::prev

◆ target

char* form::target

The documentation for this struct was generated from the following file: