View/Edit #52:input_hidden

Switch to edit mode.

Name(s): input_hidden
1:  "Returns an HTML form hidden element built as follows:"
2:  ":input_hidden(name [,value])"
3:  {name, ?value = ""} = args
4:  value = this:literal_text(value)
5:  if (typeof(value) == $LIST)
6:    text = {tostr("<INPUT TYPE=\"hidden\" NAME=\"", this:literal_text(name), "\" VALUE=\""), @value, "\">"}
7:    text[1..2] = {text[1] + text[2]}
8:    length(text) > 1 && (text[$ - 1..$] = {text[$ - 1] + text[$]})
9:  else
10:   text = tostr("<INPUT TYPE=\"hidden\" NAME=\"", this:literal_text(name), "\" VALUE=\"", value, "\">")
11: endif
12: return text
13: "Last modified by Dax (#789) on Tue May  3 13:45:02 2005 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Hacker (#60)

You are not logged in.

[home | help | who | search | setup | code]