ELinks 0.18.0
form Struct Reference

#include <forms.h>

Collaboration diagram for form:

Public Member Functions

 LIST_HEAD_EL (struct form)

Data Fields

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

Member Function Documentation

◆ LIST_HEAD_EL()

form::LIST_HEAD_EL ( struct form )

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

◆ method

enum form_method form::method

◆ name

char* form::name

◆ onsubmit

char* form::onsubmit

◆ target

char* form::target

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