-
Automatic number format in a form
Hi all,
I current use the php code for number formating number_format, which is great and works fine once you have updated a record.
What i would really like is that once the user enters the number and tabs or clicks to the next box the number would automatically format.
Just to be clear the format that the number come out in is with a comma separator, so 1000, once saved\submitted the number shows as 1,000.
The code is as follows,
[CODE]
<td class="style8 style8"><?php echo number_format ($row_Recordset1['premium']); ?></td>
[CODE]
Hope this makes sense!
Steve
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks