Difference between revisions of "Create new request"

From PegaWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{#if: {{#urlget: pageName}} | {{#ifexist: {{#urldecode: {{#urlget: pageName}} }}
 
{{#if: {{#urlget: pageName}} | {{#ifexist: {{#urldecode: {{#urlget: pageName}} }}
 
| A page with this name already exists, please choose another name
 
| A page with this name already exists, please choose another name
<wsform action="get" id="new-request" class="mb-4"><wsfield type="text" class="form-control " name="pageName" placeholder="Title" size="50"/></wsform>
+
<wsform action="get" id="new-request" class="mb-4"><wsfield type="text" class="form-control " name="pageName" placeholder="Title" size="50"/><wsfield type="submit" value="Check"/></wsform>
 
| Create the request with title '''<big>{{#urldecode: {{#urlget: pageName}} }}</big>''' ? <wsform action="get" id="new-request" class="mb-4" mwreturn="{{fullurl: {{#urlget: pageName}} }}" >
 
| Create the request with title '''<big>{{#urldecode: {{#urlget: pageName}} }}</big>''' ? <wsform action="get" id="new-request" class="mb-4" mwreturn="{{fullurl: {{#urlget: pageName}} }}" >
 
<wsfield type="hidden" name="preload" value="Template:Boilerplate New request" />
 
<wsfield type="hidden" name="preload" value="Template:Boilerplate New request" />

Revision as of 13:06, 29 July 2020