xowiki::utility proc formCSSclass (public)

 xowiki::utility[i] formCSSclass form_name

Defined in packages/xowiki/tcl/xowiki-utility-procs.tcl

Obtain CSS class name for a form from its name

Parameters:
form_name

Partial Call Graph (max 5 caller/called nodes):
%3 test_create_form_with_form_instance create_form_with_form_instance (test xowiki) xowiki::utility proc formCSSclass xowiki::utility proc formCSSclass test_create_form_with_form_instance->xowiki::utility proc formCSSclass test_link_tests link_tests (test xowiki) test_link_tests->xowiki::utility proc formCSSclass

Testcases:
link_tests, create_form_with_form_instance
Source code:
set CSSname $form_name
regexp {^..:(.*)$} $CSSname _ CSSname
regsub {[.].*$} $CSSname "" CSSname
return "Form-$CSSname"
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: