We created a SmartCapture form on a Marketing Cloud cloud page to be used for a data enrichment campaign. As part of the design, we have 2 pre-populated fields: physical address and account ID. Both of these are present in the form, but unlike other form fields such as name, surname, email, etc., these get pre-populated through AMPscript because we already have that data in the sendable data extension. Now, we would like to make those 2 fields non-editable ("read-only") fields, that would show the subscriber (prepoulated) information, but the information cannot be edited by the subscriber. Thanks

1 Answer 1


You need to add "readonly" in the input tag. Here's an example:

<input type="text" name="Name" data-field-type="Text" value="%%=v(@firstname)=%%" readonly>
  • Worked like a charm! Thanks!!!
    – nix9247
    Sep 25, 2019 at 12:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .