I have created one data extension using these fields 'name, email, checkbox1,checkbox2'. Also i created one custom profile center page like landing page using lookupRows function. My requirement is when we click the user registration link, it will be redirect to custom preference center page which have 3 checkboxes . So my doubt is how to update the checkboxes in that page dynamically. Can anybody please give me any suggest me.
- It Depends on your data source (SFDC object or DX) but in general => query the source and given one of the fields is boolean (in this case) you can proceed to step two
Check or uncheck the checkbox based on a field value (below you can find HTML paired with AMPScript)
< input type="checkbox" %%[If @fieldFromDataExtension=="true" Then]%% checked="checked" %%[EndIf]%% name="AnyNameYouLike" >