-
Hi
Try by deleting the text box and readd it and add the placeholder again and then build the solution.
-
ah, thank you. that was going to be my next question. No, I'm actually getting the username, the error is in the first line
var wshshell=new ActiveXObject("wscript.shell");
Is there something I need to reference or declare? I'm very new to javascript. :(
-
Hello,
Can you check once, are you getting the username or not? You have to modify code as below,
XDocument.DOM.selectSingleNode("/my:myFields/my:CustomFields/my:CurrentUser").text = username;
-
thanks again, for the reply.
I am doing just this.
The textbox value becomes null but placeholder is gone.
Regards,
SaIkrishna
-
Hi
1.Open infopath in design mode
2.Right click on the text box
3.Select Text Box Properties
4.Click on Display tab
5.In Placehoder text box, type the text
6.Click ok
7.Add a button and write a code on it
-
thanks for reply.
Please explain, for which event did that work.
I have a button on whose click, i am trying to set the textbox value as string.empty(i am able to set the textbox value as null) but placeholder is gone.
Regards,
Saikrishna
-
Please use this forum to ask technical questions about the Template Parts.
We monitor this forum on a regular basis and will respond on a regular basis to your questions. Please review other posts for common questions - you may well find your question is already answered.
Important Link: Free Qdabra Template Parts Download
-
Hi
Try this,
function Email(dataAdapterName, to, CC, subject, intro, attachmentFileName)
{
try
{
var objEmailAdapter;
objEmailAdapter = XDocument.DataAdapters(dataAdapterName);
objEmailAdapter.To = ...
-
Hi
I tried by setting the text box value to string.empty in onclick event and it is working fine.Can you check once again the placeholder text in the text box.
-
I'm having problems with the following code. It worked yesterday but does not work now. What's going on?! I get an error informing me the the object can not be created.
function XDocument::OnLoad(eventObj)
{
var wshshell=new ActiveXObject("wscript.shell");
var ...