本文介绍了如何将值传递给crm中的下一页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..

与sage crm合作。我的第一个屏幕有firstname和lastname字段。一旦我输入了那些字段并继续点击,它就会移动到下一页,其中还有要输入的其余详细信息的名字和姓氏。如何将输入的firstname和lastname值传递给下一页。请在asp中提供代码.........

Hi..
Am working with sage crm. My first screen have firstname and lastname fields. Once i entered that fields and continue is clicked,it should move to next page where there is also the firstname and lastname the remaining details to be entered. How to pass the entered firstname and lastname values to next page. Please provide the code for that in asp.........

推荐答案

var fname=Request.Form('pers_firstname')
var lname=Request.Form('Pers_LastName')
Response.Redirect("PersonDetails.asp?J=Test/PersonDetails.asp&E=Titles&pers_firstname="+fname+"&pers_lastname="+lname); 



以下是我在第二页的代码,


And below is my code in second page,

var fn = new String(Request.Querystring("pers_firstname"));
var ln = new String(Request.Querystring("pers_lastname"));
var firstname='';
if (firstname.indexOf(',') > 0)
{
  var Idarr = fn.split(",");
  firstname = Idarr[0];
}
else if (fn != '')
  firstname = fn;


这篇关于如何将值传递给crm中的下一页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-14 06:01