CCK Price Field

Zythyr - July 4, 2009 - 21:35

I am creating a field where users can enter the price of an item they are selling.

So I installed the Formatted Numbers and Format Number API modules. This way users are forced to only enter numbers into the field. Is there anyway I can some how enter the symbol, $, before the box that users are suppose to input price in? This is because when using the Formatted numbers field, if users enter "$43.99" into the field, the output always turns out to be "0.00"

I was thinking about putting the dollar symbol into the label of the feild, but by default, Drupal enters a colon after the label, then shows the input feild. So basically it would come out like this:

Price $: _______

I want to show like this:

Price: $________

I was thinking about isntalling the Money feild module, but I don't want to clutter my site with so many advance modules just to do simple things like entering the $ symbol before the input field.

 
 

Drupal is a registered trademark of Dries Buytaert.