Skip to main content
prabhakarr109993
April 9, 2025
Question

The auto-filled data is retained in text field but its throwing the required validation

  • April 9, 2025
  • 17 replies
  • 0 views

Hi, 

In Action forms for few of the text field I'm using the auto filled data (autofill feature existing in browser). So, data is retaining in the text field but it's throwing a required validation. if I re-enter the values manually, required validation is removed.

Any idea on this behavior?

    17 replies

    mathieud0001
    April 9, 2025

    a!localVariables(
      local!items: { a!map(name: "", email: "") },
      a!cardLayout(
        showBorder: false,
        contents: {
          a!gridLayout(
            headerCells: {
              a!gridLayoutHeaderCell(label: "Name"),
              a!gridLayoutHeaderCell(label: "Email")
            },
            rows: a!forEach(
              items: local!items,
              expression: a!gridRowLayout(
                contents: {
                  a!textField(
                    label: "Name",
                    value: fv!item.name,
                    saveInto: fv!item.name,
                    /*inputPurpose: "NAME",*/
                    required: true
                  ),
                  a!textField(
                    label: "Email",
                    value: fv!item.email,
                    saveInto: fv!item.email,
                    /*inputPurpose: "EMAIL",*/
                    required: true
                  )
                }
              )
            )
          ),
          a!buttonArrayLayout(
            buttons: a!buttonWidget(label: "Submit", validate: true)
          )
        }
      )
    )

    This works fine for me with or without the inputPurpose attribute that is specified.

    - Which version of Appian are you on?

    - Which browser?

    prabhakarr109993
    April 9, 2025

    Hi, it's not the Appian function issue, it's the auto fill (which we use data from browser wallet) feature which we use it in browser in that I'm facing the issue.

    mikes0011
    Brainy
    April 9, 2025

    I fear Appian will not be very supportive of browser auto-fill functionality, at least when it comes to certain corner cases like you've described here.  If you believe the behavior is reproducible and counter to what a user might EVER reasonably expect, however, you might raise a support case with Appian (being sure to describe the exact reproduction conditions) and make them aware at least, in case a minor adjustment to the back-end behavior of the field would improve things.

    mikes0011
    Brainy
    April 9, 2025

    Can you share the code for just the TextField configuration?

    June 2, 2025

    Hi,
    I have also found this issue today, following upgrade to 25.2 - the issue does not occur in 24.4 which is the version we upgraded from.
    Did anyone find a solution to the issue (other than the user clicking in the field)?

    I have raised a ticket with Appian to ask if it is the expected behaviour, a bug, or if they can suggest a design solution.

    cithar575376
    June 2, 2025

    Hi [mention:78411657687e4eed9a193207c81192d7:e9ed411860ed4f2ba0265705b8793d05] 

    Good Day!!!

    We also face the same issue in our application. We raised an Appian Support ticket as well. They told like the Appian Product team is already aware of this issue they are working on this as well. May be we can expect this issue resolved as an hotfix later.

    Thanks 

    Ranjith

    June 2, 2025

    Hi Ranjith,

    Appian have also confirmed the same to me - "This is a bug and the product team is working on fixing this issue."
    Thanks
    Jonathan