Frequently Asked Questions | Jan 13, 2026 - 08:30am |
|
|
Frequently Asked Questions Common Problems and Solutions Troubleshooting Macro or template troubles. WCTL 
How do I suppress a macro result?
Rate This FAQ
(Not yet rated)
|
Created On: 14 Mar 1998 3:05 pm Last Edited: 4 Jan 2000 12:44 pm |
| Question |
|
|
Many WCTL commands return a "1" when completed successfully, and that number may be included an HTML result. How can I suppress that? |
| Answer |
One such WCTL command is "setUserPassword". Here are three ways to suppress the value of "setUserPassword":
-- 1 --
%% setAuthor( UserID ) %%
%% if author.setUserPassword( newPassword )%%
User password has been changed...
%% else %%
User password not changed...
%% endif %%
-- 2 --
%% setAuthor( UserID ) %%
%% set result author.setUserPassword( newPassword )%%
-- 3 --
For version 3.1+: %% clearOutput %% at the end of your macro (or wherever your macro stops). |
|
|
|
|