Is it possible to configure an input field so that when a user enters a url it w

Is it possible to configure an input field so that when a user enters a url it will be a clickable link?

OriginalPostID-141151

OriginalPostID-141151

  Discussion posts and replies are publicly visible

Parents
  • Hey Michael, it doesn't seem like you are validating against a null value for your rule input. If you have the Appian Common Objects in your environment, and assuming the CDT itself is not null, try this:
    a!textField(
    label: "Sample Report URL",
    instructions: "Enter the URL for the sample report here, in http://url.com format.",
    labelPosition: "ADJACENT",
    saveInto: ri!dqrr_dataQualityReportRequestCDT.dqaFulfillmentURL
    ),
    if(rule!APN_isEmpty(ri!dqrr_dataQualityReportRequestCDT.dqaFulfillmentURL),{},
    a!linkField(
    links:a!safeLink(
    label:"Click here to access the URL",
    uri:ri!dqrr_dataQualityReportRequestCDT.dqaFulfillmentURL)
    )
    ).
    Also note you might need to validate the URL entered.
Reply
  • Hey Michael, it doesn't seem like you are validating against a null value for your rule input. If you have the Appian Common Objects in your environment, and assuming the CDT itself is not null, try this:
    a!textField(
    label: "Sample Report URL",
    instructions: "Enter the URL for the sample report here, in http://url.com format.",
    labelPosition: "ADJACENT",
    saveInto: ri!dqrr_dataQualityReportRequestCDT.dqaFulfillmentURL
    ),
    if(rule!APN_isEmpty(ri!dqrr_dataQualityReportRequestCDT.dqaFulfillmentURL),{},
    a!linkField(
    links:a!safeLink(
    label:"Click here to access the URL",
    uri:ri!dqrr_dataQualityReportRequestCDT.dqaFulfillmentURL)
    )
    ).
    Also note you might need to validate the URL entered.
Children
No Data