Difference between revisions of "Template:ExampleContact"
From Organic Design wiki
(New page: <div id=contact-form> {{#form:method=p...) |
|||
Line 1: | Line 1: | ||
<div id=contact-form> | <div id=contact-form> | ||
{{#form:method=post|style=width:400px| | {{#form:method=post|style=width:400px| | ||
− | '''Name:''' {{#input:type=select|name=title|*Select name {{#dpl:uses=ExampleContact|format=,\n*%TITLE%,,}}}} | + | '''Name:''' {{#input:type=select|name=title|value={{{name}}}|*Select name {{#dpl:uses=ExampleContact|format=,\n*%TITLE%,,}}}} |
− | '''Phone:''' {{#input:name=phone}} | + | '''Phone:''' {{#input:name=phone|value={{{phone}}}}} |
'''Address:'''<br> | '''Address:'''<br> | ||
− | {{#input:type=textarea|style=width:350px|name=address| | + | {{#input:type=textarea|style=width:350px|name=address|{{{address}}}}}<br> |
{{#input:type=ajax|value=Load|update=contact-form}}{{#input:type=ajax|value=Save|update=contact-form}} | {{#input:type=ajax|value=Load|update=contact-form}}{{#input:type=ajax|value=Save|update=contact-form}} | ||
}} | }} | ||
</div> | </div> |
Revision as of 07:44, 14 September 2007
{{#form:method=post|style=width:400px|
Name: {{#input:type=select|name=title|value={{{name}}}|*Select nameExtension:DynamicPageList (DPL), version 3.3.3: Warning: No results.
}}Phone: {{#input:name=phone|value={{{phone}}}}}
Address:
{{#input:type=textarea|style=width:350px|name=address|{{{address}}}}}
{{#input:type=ajax|value=Load|update=contact-form}}{{#input:type=ajax|value=Save|update=contact-form}}
}}