Lookup Table Remove comma from Display Field#1

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mpol_ch
User
Posts: 877
Location: Switzerland

Lookup Table Remove comma from Display Field#1

Post by mpol_ch »

Hi

I am using table lookup feature and gettint 4 Display Fields.
I am using a java script to get the values of those fields after comma.
Now the user has inserted into Display Field 1 a comm in his record and my script is not working. (LSI,, instead of LSI,)
How can I get remove all commas in the field by PHPMAKER?

Bf an Frepo BE (Einreichung des Reisepasses), LSI,, 5.00, 1.20, 281.00

thanks

mpol_ch


arbei
User
Posts: 9370

Post by arbei »

You can use the option "Use dropdown" and add your own "Option template".

Read help file topic "Project Setup" -> "Lookup Table" for more information.


mpol_ch
User
Posts: 877
Location: Switzerland

Post by mpol_ch »

Hi arbei,

thanks a lot for your support.
I just used the following function to change the value separator. This also solved my problem.

// Page Load event
function Page_Load() {
//echo "Page Load";
$this->Posten->DisplayValueSeparator = ";";
}

mpol_ch


Post Reply