Richard Corso Posted February 2, 2010 Posted February 2, 2010 (edited) I have a portal called cash out, and one of the fields is for a visa gift card number. We use a card swipe to enter the number. I used Middle (GiftCardNum; Position (GiftCardNum; ";"; 1; 1) + 1; Position (GiftCardNum; "="; 1; 1)-2) to capture the number. This has been working just fine, until I added a field above the portal to enter the customer ID number to create a new cash out. Now when I swipe the gift card the number will not go in to the GiftCardNum field. The field is blank and a different set of numbers are put in the field above the portal. When gift card is swiped: %B4793470269250179^GIFT/CARD^1104121100000001000000433000000? ;4793470269250179=1104121100000001433? The number that I need: %B4793470269250179^GIFT/CARD^1104121100000001000000433000000? ;[color:red]4793470269250179=1104121100000001433? The calculation in the field: Middle (GiftCardNum; Position (GiftCardNum; ";"; 1; 1) + 1; Position (GiftCardNum; "="; 1; 1)-2) The number that used to go into the GiftCardNum field: [color:red]4793470269250179 The number that now is captured and sent to the field above the portal: ;4793470269250179=1104121100000001433? If I delete the field above the portal, every thing works just fine. I would really like to keep the field above the portal to enter the ID number in. Any suggestions. Edited February 2, 2010 by Guest
Fitch Posted February 2, 2010 Posted February 2, 2010 The last paragraph of your post is the key. Sounds like the problem is not your calculation, but something to do with field behavior settings and/or perhaps you have a script involved here?
Richard Corso Posted February 3, 2010 Author Posted February 3, 2010 Found it, it was the giving the new field a tab number. When I deleted the tab number it works fine. Thanks for the reply.
Recommended Posts
This topic is 5501 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now