I have 2 Data Extensions.I use one data extension for sending email.In the email ,i have a link to the cloud page.But in the cloud page ,the values should be pre-populated ,where one of the rows have value from the 2nd Data Extension.There is a common field between these 2 Data Extension that is Customer ID.How do i pre-populate that value?

  • you need to populate the 2 data extension values when you click on submit button in email ?
    – Ravi.A
    Feb 25 '19 at 6:12
  • probably answered here? salesforce.stackexchange.com/questions/165040/…
    – Johnson AY
    Feb 25 '19 at 6:41
  • i want to autopopulate the values in cloud pages...before clicking the submit button @pkharries Feb 26 '19 at 13:34
  • i mean after clicking link in receiving ur email then only populate values in cloud page am i correct ?
    – Ravi.A
    Feb 26 '19 at 13:55
  • YES..EXACTLY@pkharries Feb 27 '19 at 11:05

@try like tthis

      set @email=AttributeValue("emailaddr")

      set @recordID = lookuprows("DE2","Email",@email)

   if rowcount(@recordID)>0 then

      Set @row = ROW(@recordID,1)
       Set @act = FIELD(@row,"Name")
        Set @act1 = FIELD(@row,"count")  
      <form id="my_form" method="post">

     <input type="text" name="test" value="%%=v(@act)=%%"/>
     <input type="text" name="test1" value="%%=v(@act1)=%%"/>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.