Add custom logic in the JavaScript tab. Here we (a) add a validator to the email field that only allows certain hosts in the email address. And (b), we simplify entering currency values by setting up the library autonumeric.

Changed or customize the layout of the form in the Css tab. Here we give labels a blue tint and remove the border of input fields.

Add custom Html tags to the head in the meta tab. Here we include a font and a JavaScript library from a CDN and set some meta tags such as the author and the description.

Add hidden input fields in the variables tab. Here we add the three variables named varDate, varState, and varCount. You could save the date when the form was opened for the first time in the input field varDate. It is then always available, even after it was submitted and processed on the server.

The Xima® Formcycle Designer offers you a variety of options to create your form without any programming skills. When you design complex forms you encounter special requirements that cannot be implemented with the graphical interface. Xima® Formcycle does not restrict you in any way and lets you add custom logic as it becomes necessary.

As with all web pages, the web forms generated by Xima® Formcycle makes use of Html, JavaScript and Css. To add your own JavaScript and Css, you have got several options:

  • Create a client file ending with .js or .css. These files are automatically included in all forms. This is useful for libraries that every form required.
  • Create a form file ending with .js or .css. These files are included in that form automatically. Use this for libraries you only need for one form.
  • Go to the JavaScript or Css tab of the Xima® Formcycle Designer and add the JavaScript or Css directly. This is useful for form-specific logic or styles, such as adding a certain validator function to a form field or tweaking the layout of an image. When you make any changes in the Css tab, you can see the result immediately applied to the form.
  • You can also create a Css template and select this as the layout of the form. This is useful for basic layout themes shared by multiple forms.

JavaScript you add as a client or form resource is executed immediately when the form is loaded. All the JavaScript you add in the JavaScript tab of the Xima® Formcycle Designer, on the other hand, is executed only once the form has finished loading

The advance section is available at the very bottom of the Xima® Formcycle Designer. Open it by clicking on the designer_south_pane_expander.png arrow. This section is grouped into the following tabs:

JavaScript tab
Lets you add your own custom JavaScript. This script is run only once the form has finished loading.
Css tab
Lets you style the form with you own custom Css. All changes you make here are applied to the form immediately once you click anywhere outside the Css tab.
Variables tab
Here you can add hidden input fields to the form (<input type="hidden">). You may use them for data that is never shown in the form, but may be accessed on the server or via JavaScript.
Meta tab
Here you can add custom Html to the <head> of the generated form Html. Use cases include adding additional Css and script resources, or to add some meta tags for search engine optimization.

For editing JavaScript and Css, we provide you with an intelligent code editor that features auto-completion, syntax highlighting, code indendation and much more. See the help pages on the JavaScript and Css tab for more details.

Copyright 2000-2024