Hidden
Support | |
---|---|
Events | No |
The Hidden element is a form input element, and can be added using New-PodeWebHidden
. It allows you to add hidden values/elements to your forms:
New-PodeWebCard -Content @(
New-PodeWebForm -Name 'Example' -ScriptBlock {
$date = $WebEvent.Data['HiddenDate']
} -Content @(
New-PodeWebHidden -Name 'HiddenDate' -Value ([datetime]::Now.ToString())
)
)