Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
FormAPI question
GodBlessMe
Is there any attribute in FormAPI by which we can find out whether a user invoked a "New DCR" command or "Edit DCR" command? I want to show/hide some items on the DCT based on this attribute.
Thanks
Find more posts tagged with
Comments
Migrateduser
check if the name is null
var dcrName = IWDCRInfo.getDCRName();
// Convert all empty values to null for easier comparison.
if ( dcrName == undefined || dcrName == "" )
{
dcrName = null;
}
if ( dcrName == null )
{
//new DCR
}
else
{
//existing DCR
}
GodBlessMe
Thanks for the Reply...