HOW TO define field with a fixed decimal point in Edit mode?

Talk and info about common issues

Moderators: ne_moj, zewa, vadimako, ne_moj, zewa, vadimako

administrator
Site Admin
Site Admin
Posts: 5988
Joined: Jan 7th, '09, 23:18
Contact:

HOW TO define field with a fixed decimal point in Edit mode?

Postby administrator » Oct 24th, '12, 13:34

This simple trick will allow you to define fixed decimal point in Add/Edit modes.

Use following definition for your fields:

Code: Select all

"type"=>"textbox", "req_type"=>"rx", "template"=>"ddd.dd"


decimal_point.png
decimal_point.png (787 Bytes) Viewed 1266 times

Return to “ApPHP DataGrid {HOW TO}”