This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Price field question


  1. webcommerce
    Member

    Hello,

    I have managed to remove the cents box from the price field in ./includes/view_functions.php

    However, there remains the separator ('.') after the $ box.
    How do I get rid of the separator?

    Thanks.
    Ron S

    Posted 16 years ago #
  2. webcommerce
    Member

    Any thoughts anyone please??

    Ron S

    Posted 16 years ago #
  3. yuniar

    It should be the same place where you have removed the cents box.
    Few lines above it.

    Exactly on line 868 you should see this:

    <input id="element_{$element->id}_1" name="element_{$element->id}_1"
    class="element text currency" size="10" value="{$element->populated_value['element_'.$element->id.'_1']['default_value']}"
    type="text" /> .

    remove the dot at the end of that line.


    MachForm Founder

    Posted 16 years ago #
  4. webcommerce
    Member

    Yep ... that worked, thanks Yuniar.

    Funny, I did that yesterday and it didn't work. When I went in to the file again today the dot was still there - I mustn't have saved the file correctly, silly me....

    Posted 16 years ago #

RSS feed for this topic

Reply