gstanley Posted September 24, 2010 Report Share Posted September 24, 2010 I have an authenticated HTML datapage and am trying to open a datapage based on a particular status in the database, but not able to read the variable correctly. Please help. Script: var cb_approved = '[@FDIC_Registration:Pre_Qual_Approved]'; (is this correct?) if (cb_approved="Yes") { (need code to open datapage1); } else { (need code to open datapage2) } Quote Link to comment Share on other sites More sharing options...
bahar_vm Posted October 5, 2010 Report Share Posted October 5, 2010 If your DataPage is an HTML DataPage then there is not connection to a table to read data from however if you are trying to read the data from the authentication table you can use the following format: var cb_approved = '[@authfield:Pre_Qual_Approved]'; Pre_Qual_Approved is the field name in your authentication table. Also make sure this HTML DataPage has advanced options and passing parameters enabled. Best, Bahar M. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.