I have an interesting problem. I have been trialling an iPad application called "scan to web" to enable the user to scan a barcode with the ipad. This works well with a standard APEX page, but with FOEX I get into a funny situation.

The text field when rendered is given the name "f01" moreover, there is an additional HIDDEN field also given the name "f01"

When I scan a barcode (ABC1234), the hidden field get the result because it is first in the HTML DOM.

<input id="R73954431199236516_FORM_MD5_CHECKSUM-inputEl" type="hidden" role="" size="1" name="f01" class="x-form-field x-form-hidden" autocomplete="off" value="ABC1234"> <input id="P1_NEW-inputEl" type="text" role="" size="1" name="f01" class="x-form-field x-form-text" autocomplete="off" data-errorqtip="" style="width: 100%;">

Scan to Web uses the name property/attribute and not the ID. They did this because they had numerous support incidents where ID was used and not the name, then when the form was submitted, the barcode result was not saved. They made the decision to use the name because it was assured that would get saved somewhere.

Anyway would you have a suggestion for me how I could deal with this issue using FOEX.

asked 16 Feb, 23:50

Ray's gravatar image

Ray
212321
accept rate: 11%

Thanks for reporting, we are investigating the issue.

(17 Feb, 01:56) FOEX-SUPPORT FOEX-SUPPORT's gravatar image

It is not currently possible to overwrite the "name" for the form item. We will have to introduce a change to support this. If this is required please make a request via our support portal: https://support.tryfoexnow.com

Otherwise please use a regular APEX Form to achieve this.

link

answered 17 Feb, 06:10

FOEX-SUPPORT's gravatar image

FOEX-SUPPORT
4.7k15
accept rate: 32%

I have contacted the developer of the app for iOS and asked if they could possibly make a version where you can configure to use either the name or the id. As they used to initially use the id I thought that might be a solution. The good news is that they said that would be feasible and will look how they can fit it into their development schedule. They will then try to release it in one of the next versions. I have investigated a few apps (there are only a few), but this one "scan to web" from Berry Wing LLC is imo the nicest one.

(20 Feb, 16:46) Ray Ray's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×11
×8

Asked: 16 Feb, 23:50

Seen: 319 times

Last updated: 20 Feb, 16:52

FOEX Links