-
Hi,
Try with this:
Add one boolean hidden field "Is Approved" to schema.
Bydefault this field value should be "False.
Set this field value as "true" when user approve the form.
To displable the button add following code in the HTMl page.
If(Is Approved == "true")
{
ButtonID.Disabled = ...
-
Hi,
Instead of "Now()" use "substring-after(now(), "T")" formula to get only Time.
-
HI,
Can you follow the below steps to change the "Workflow Enabled" as yes.
1. Go to Start --> Administration Tools.
2. Select "Sharepoint 3.0 Central Administration" page.
3. Select "Application management" tab.
4. Select "Workflow settings" link under the Workflow Management.
5. Select yes ...
-
I don't know how to close the view. But below is the once option to refresh the page.
If you want to refresh the page after submitting data to database, then you need to add the rule to a button to clear the values. Other wise you can write those code to clear the values.
Add following rule to the button after submitting to the Db. ...
-
Hi,
Make sure your connection string is correct.
Do you have write permission for that db?
-
Hi,
Close view means, do you want to switch to other view.
As of my knowledge there is no way to close one single view. Because form will open in one view.
-
Hi,
If you are using infopath2007, then you have one option to open the form as Webpage.
Go to the Tools -->Form Options
Select "Compatability" tab.
Select "Design a form template that can be opened in browser or infopath" chack box
Make sure you need to publish this form to Sharepoint 2007.
-
[quote user="ghostme"]
Thanks for the reply Anuma, so invariably there is no workaround for this?
[/quote]
Hi,
Form will be opened in Webpage even that machine have Infopath2007 installed, If you check the "Display as a Web pag" option in the Advanced proprties in the form Library.
I think your issue is not related ...
-
Hi,
Below code will work to close the Infopath2007 form.
this.Application.ActiveWindow.Close();
If you working on browser form, then it will not work. You need to add the rule to close the form.
-
Hi ,
Can you verify the below links .
In Infopth 2007:
http://enterprise-solutions.ikreate.nl/infopath2007/convert-infopath-form-into-word-2007-document-xslt-c-sharp.htm
http://blogs.msdn.com/infopath/archive/2007/03/19/transforming-infopath-rich-text-to-word.aspx.
In Infopath ...