5 Struct N_FORM_FIELD
gullradriel edited this page 2026-10-09 00:55:18 +02:00

N_FORM_FIELD

a single form field (input, select, textarea, button)

#include "n_html.h"

Public Attributes

Name
char * value
default value attribute, or ""
char * type
field type (lowercased), default "text"
int required
1 when the required attribute is present
char * name
field name attribute, or ""

Public Attributes Documentation

variable value

char * value;

default value attribute, or ""

variable type

char * type;

field type (lowercased), default "text"

variable required

int required;

1 when the required attribute is present

variable name

char * name;

field name attribute, or ""