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
184115
accept rate: 14%

Thanks for reporting, we are investigating the issue.

(2 days ago) 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 2 days ago

FOEX-SUPPORT's gravatar image

FOEX-SUPPORT
2.4k14
accept rate: 32%

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
×5

Asked: 16 Feb, 23:50

Seen: 22 times

Last updated: 2 days ago

FOEX Links