SoftadminSnippet.Form

Type: Stored procedure

When called from a snippet procedure, generates a form that will trigger a Form Submit call for the snippet when the form is submitted.

Example

EXEC SoftadminSnippet.Form
	@FormHtml = N'<label>Name: <input type="text" name="Name"></label><input type="submit">';

Parameters

@CssClass optional varchar
CSS class name to use for the form.
@FormHtml mandatory nvarchar
@OnSubmitJavaScriptFunctionName optional varchar
The name of a JavaScript function to run when the form is submitted.

The form will not be submitted if the function returns false.