I have tried with this code to retrieve and update
<script runat="server" type="text/javascript">
Platform.Load("core", "1");
if (Request.Method == "POST") {
var fname= Request.GetFormField("FirstName");
var lname= Request.GetFormField("LastName");
var email = Request.GetFormField("Email");
Write("UserMail::<br/>"+email);
var updateDE = DataExtension.Init("EMP001");
var status = updateDE.Rows.Update({Firstname:fname,LastName:lname},["Email"],[email]);
Write(stringify(status));
}
</script>
%%[
set @email=AttributeValue("emailaddr")
Set @rowset=LookupRows("someDE","Email",@email)
set @row=Row(@rowset,1)
]%%
<html>
<body>
<form id="myform" method="Post" action=" http://pages.S7.exacttarget.com/page.aspx?QS=5c591a8916642e73f536137ce9a6af15a734cee467c322a9fa4cdca5dbb0d392" >
FirstName: <input type="text" name="FirstName" placeholder="Your FirstName..." value="%%=Field(@row,"FirstName")=%% "/><br/>
LastName: <input type="text" name="LastName" placeholder="Your LastName..." value="%%=Field(@row,"LastName")=%% " /> <br/>
Email: <input type="text" name="Email" placeholder="Your Email..." value="%%=Field(@row,"Email")=%% " /> <br/>
<input type="submit" value="submit" />
</form>
</body>
</html>
here to retrieve I have used AMP script but I want to retrieve with ssjs and have to give value in the value to print the values I am facing difficulty there If anyone help me on this it would be great Thanks in Advance