15.08.2013 Views

Ektron CMS400.NET User Manual

Ektron CMS400.NET User Manual

Ektron CMS400.NET User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NOTE<br />

- maximum length (usually for text responses)<br />

Working with HTML Forms<br />

Your Web developer can customize validation options. For details, see the <strong>Ektron</strong><br />

<strong>CMS400.NET</strong> Developer’s Guide section “Customizing Validation.” However, the<br />

file that maintains custom validation is different for HTML forms: it is siteroot/<br />

workarea/ContentDesigner/ValidateSpace.xml.<br />

Your system administrator determines if a user can save the invalid<br />

data.<br />

When the Custom Validation option is selected from the<br />

Validation field, the Custom Validation screen area becomes<br />

active.<br />

• The Data Type field is the value’s basic type, for example, text,<br />

number, or URL.<br />

• The Condition field displays the validation logic.<br />

• The Examples drop-down list shows validation expressions<br />

that you can apply to the field.<br />

Example of Creating Custom Validation<br />

As an example of custom validation, assume that a field collects<br />

telephone numbers, and you want to make sure the user enters 10<br />

digits. To accomplish this, follow these steps.<br />

1. Insert a Text Field.<br />

2. Complete the Text Field dialog’s General tab.<br />

3. Click the Validation tab.<br />

4. In the Validation dropdown list, select (Custom).<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong> <strong>User</strong> <strong>Manual</strong>, Version 7.5 601

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!