Adding symbol before input on insert

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
abraham.sosa
User
Posts: 2

Adding symbol before input on insert

Post by abraham.sosa »

Hello!

I wanna know if there's a way to add a symbol before the input on the add/edit pages. Specifically speaking I'd like to add a "%" symbol.

Thanks!


mobhar
User
Posts: 11660

Post by mobhar »

You may simply use "Row_Inserting" and "Row_Updating" server event. For example, your field name is "MyField", then try:

$rsnew["MyField"] = "%" . $rsnew["MyField"];


Post Reply