-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
58 lines (58 loc) · 2.07 KB
/
index.php
File metadata and controls
58 lines (58 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php header("Content-Type: text/xml;"); ?>
<?php printf('<?xml version="1.0" ?>'); ?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" output-encoding="UTF-8" title="Forms Demo" xsi:nonamespaceschemalocation="http://www.netbiscuits.com/schema/netbiscuits.xsd">
<external type="script" file="scripts/validation.js"/>
<container>
<column>
<?php include('includes/header.php'); ?>
<TEXT id="errMsg">
<headline/>
<richtext/>
</TEXT>
<FORM action="thankyou.php" method="POST" name="registration">
<styles>
<style name="padding" value="2"/>
</styles>
<row>
<cell>
<text>Name:</text>
</cell>
</row>
<row>
<cell>
<input name="name" required="true" type="text"/>
</cell>
</row>
<row>
<cell>
<text>Email:</text>
</cell>
</row>
<row>
<cell>
<input name="email" required="true" type="email"/>
</cell>
</row>
<row>
<cell>
<text>Phone:</text>
</cell>
</row>
<row>
<cell>
<input maxlength="10" name="phone" required="true" type="tel"/>
</cell>
</row>
<row>
<cell>
<event id="click" type="onclick">
<action eval="myValidateForm()"/>
</event>
<input name="submitfrm" type="submit" value="Submit"/>
</cell>
</row>
</FORM>
<?php include('includes/footer.php'); ?>
</column>
</container>
</page>