Object oriented Smart Templates Engine
Smart Template Engine
Installation / Tips Database Engine Interface Smart Parser Engine
Step by step installation
Database (DE) mode FAQ
Templates (TE) mode FAQ
Examples
Tips
Admin interface
Actions Editor
Jump Editor
Mailing Editor
Key Fields
Syntax
How to use TE
How to use DE

(*) DE - Database Engine
(*) TE - Template Engine
     Jumps editor
Description
Insert to



 

    Common notes

After your form was parsed by SP.DE (CSS, Mail, MySQL stages), the script can redirect you to another page.

EXAMPLE: You have an order form. You can add payment jumps based on submitted value of Select element "Splan" -
'[[Splans]]'=='plan1', '[[Splans]]'=='plan2' and so on.
Remember, SP.DE checks jump actions one by one - you will be redirected to a first link with jump term will be "TRUE".

If you did not add jump actions or no one condition were True, SP.DE will reload original form page.

Add all fields in " [[" and "] ]" - SP.DE will replace the field inside with real field value.

Note: Even if you have some hidden field that dosnt appear in FSave interface, you could add the value of the field in following format - [[hiddenfield]], SP.DE will find this field and replace with real value.


Jump Description
  top
Name you "jump" action

"Link" field  top
URL to another page. If you do not include "http://" SP.DE redirect locally. You can also use field names in URLs - http://test.com?name=[[name]]
"Jump terms" field  top
If empty - means TRUE. Logical expression must meet PHP rules. If TRUE - you will be redirected to the Link
Don't forget about strings - text fields are strings for php and SP.DE just replaces [[text_field]] on value. It means that you must use '[[text_field]]' to compare.
Form fields  top
Point and then press Insert button to add form's fields into "Link" or "Jump terms" fields
Insert to - "Link", "Jump terms" buttonû   top
Press to add form fields into "Link" or "Jump terms" fields
Post button   top
Save changes. Exit
Cancel button   top
Cancel changes. Exit
 

 1997-2004 © Copyright "H-2.com"    Developed by H-2.com