.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Two step form with SP Designer

Posted By:      Posted Date: October 27, 2010    Points: 0   Category :SharePoint

I have created a new form using SP Designer with a personalised lists as my data source (MOSS 2007).  The form contains, first name, last name and date of birth.  What I am trying to accomplish is if the user filling out the information for the form is under 18 it would go to a second form that would ask for his/her parents cridentials (or this info can pop up in the same form).  If the user is over 18 it would display a thank you message.  Can this be accomplished using SP Designer?  I forgot to mention that step 2 needs to be linked with step 1.  I tried passing a paremeter in the querystring but it returns as {@ID} on my second page.

View Complete Post

More Related Resource Links

How to show previouse user comments on the task form of a user in sharepoint Designer

I am using sharepoint designer for designing workflow. I have 4 steps. on each step a user write some comments for the next user. now I want to show all those comments on task form for the current user to whom the task has been assigned.

create new custom list form in sharepoint designer and edit in browser

hi, i have created a new list using sharepoint designer 2007. now i inserted a custom list form to modify some field and add new ones. when i finished i will tight my new custom list to the custom form. what i want to know is. i see the status field in my new form. and i only want the status field to appear in the edit form for the one that has the permission to edit the status. then i tought of open the list in my browser and go to the list settings. but what i notice is i dont see my fields i have modified in sharepiont designer in the columns section i only see the ones from the existing list. my question is how can i hide the status field in the new item form that it only show in the edit form. and how do i get my new form in the column section so the end user can add more fields if they want without using sharepointdesigner thnx

conditionally hide a field in a custom form using SharePoint Designer

I'm able to hide a field based on a security group. but, how do you hide a field based on a value in another field? Custom form opens, if fieldTwo = "taco", hide fieldOne.    

Form Designer

Hello all. So I am writing a Form Designer for a while now. Here's the scenario: There's a surface and a toolbox where I can drag and drop controls into the surface. Now imagine that one of these controls is a RECTANGLE and I just dropped into this surface. Now imagine that I want to DRAG AND DROP another object, let's say a picture, inside this rectangle. For this scenario there are three questions: 1) How can I detect that the dragged object is on the same area of the rectangle already there? 2) What is the best way to add this object as a child inside the rectangle? 3) How would be best way to do with a tab control approach since the tabcontrol has a bunch of other objects already (such as tabitems, etc)?   Thanks in advance! Milton

Sharepoint Designer 2007 Variable Data on a form

I am a lifetime COBOL programmer trying to make a new career in a Sharepoint world. I am working on a project where I have created a list of Employees.  Almost all of the employees on the list must update their status on a day-to-day basis. A view was created on this list using [ME] as the search criteria to only return the employee who is updating his own info. With Sharepoint Designer 2007 I created a custom form. I cut and pasted the code for the view that I described above and then created a series of buttons to allow the employee to choose a status. For each button, I built a workflow to do the specific updates to the employee's list line. I was able to set up an onclick event for each button to execute a Javascript function that would go to the webpage and start the workflow.  I got the actual workflow URLs from the Sharepoint Intranet webpage after I completed each one. Here is my problem (and it is probably my inexperience that has got me stumped); The URL that is fed to the Javascript function has a hard-coded number representing the ID field of the Employee list (that is what probably sets the "Current Item" in the workflow.  I can see that the listview from above the buttons has the ID field as one of its Fieldrefs.  How can I substitute some kind of ID variable in the set of parameters that is fed to the Javascript? 

About de Code Generator of Designer Form.


I'm working with Winforms. Inherits Windows.Forms.Form, create Class that know frmDefault thinking in create a SDK, or framework, based in pattern, all of Applications, know that interfaces Inherits RightNow frmDefault. But i have looking code in de Designer Form with Visual Studio 2008, and all of properties declared in the form inheritable is initialized in Designer Form. Same properties would not have to be in the Designer code. Somebody could help me? As to define some variable or propiedades that will not be controlled for the code in the code inheritable. This variables, some variables store information of security of the application. 

I'm sorry, i'm not write or speak English better. King Regard's.

Humberto Queiroz [ humbertoqueiroz@yahoo.com.br ]

Commit Variable from SharePoint Designer 2010 to an InfoPath Form 2010


I saved a string into a SP Workflow 2010 variable, and want to pass this variable to an InfoPath 2010 Form, so that I can display/use this string in the Form.
Please tell me how to commit that.

Thank you in adnavce!

Kind regards,
Milan Stojadinovic

Designer: Error Generating the Task Form



I keep getting this error, no matter whether i "assign form to group" or "collect data from user"


Followed the most basic examples straight from MSDN and my book, however, still get error EVERYTIME!


here is a screenshot from a workflow I tried to create on my own. No ideas! Please help me, this is probably the most frustrating error I've ever encountered because it gives NO INFORMATION about how to fix it ...



Custom Task form of a SharePoint Designer workflow is not displaying correctly


We have created a custom workflow using SharePoint Designer. We are using one action “Collect Data from a User”. As you know, this action sends an email to a user with a link to a task form where user is supposed to accept or reject a request. We are encountering following issues with this form:

  1. Form is not a workflow form, it is a task item of the task list that the “Collect Data from a User” action of the workflow creates.
  2. Form opens as an item of the workflow task list in View mode (DispForm.ASPX) instead of Edit mode (EditForm. ASPX)
  3. When user clicks on “Edit Item” button, it displays all the fields of the task as editable – we want only the Approve/Reject option buttons and the comments TextBox (that we created during the workflow design) to be displayed as editable

Can someone please explain what is going on and how can we resolve the above issues?

Zoom while working in form designer?


While working in the form designer of visual studio, is it possible to zoom into parts of the form for working in crowded areas? I can see how to zoom in and out of the code text with the ctrl key & middle mouse wheel, but I don't see a way to do that in the designer mode. Is there an addon perhaps that will allow this?


SharePoint Designer Crash when trying to add a New Item Form



I am running WSS 3.0 on a Windows 2008 Server 64bit.  This runs our intranet which has been going for about 6 months.  I have used SharePoint Designer 2007 to make basic edits to pages.

SPD2007 has been crashing when I do the following:

I created a links list called 'Tester Links'.  I created a new .aspx page in SharePoint Designer 2007, linked it to the default master page then inserted a 'Data View'.  I chose 'Tester Links' from Data Source details then clicked Show Data.  I selected a couple of fields, went to 'Insert Selected Fields As' and chose 'New Item Form'.

SharePoint Designer 2007 then crashes with the error 'Microsoft SharePoint Designer has stopped working'

I tried creating a new Web Application and site collection, then created a new links list however still the same crashing.

I tried using SPD2007 on both the server that WSS is on and my own client machine.  I have also logged in as myself (domain admin) and the administrator however I still can't create a new item form! 

Any ideas?

Thanks in advance for your help.

error in sharepoint 2010 designer while saving:"Content in the embedded form may be changed by the t

I am doing development  in sharepoint 2010 and facing this very weird problem.
If I create a site page with the sharepoint look and feel for that site and try to save the site page,i am getting this error:**"Content in the embedded form may be changed by the the server to remove unsafe content.Do you want to reload your page to see the results of the save? "** and when i say reload,the server removes some parts of my page, e.g onclick event of html,asp buttons.

This error just comes for any sharepoint site page,e.g i took a copy of 'How To Read Library' page just edited the text part of taht page,and when i try to save this error again comes up.

However,if i create a simple aspx page with only htmltags like head body,then thr is no problem ,everything works great. But sharepoint look and feel pages are giving troubles while saving.

has anybody seen this earlier,what could be the reason for this?


Passing data into a Sharepoint Designer Form Action workflow


I have a workflow that is triggered by a "Custom Action" on a "Form Action Button" that I added to a DataFormWebPart in SharePoint Designer. So the workflow isn't associated to any list or document library. What I need to do is pass some data to this workflow so that it can do some useful stuff.

I see from here that Natalya Voskresenskaya shows a method that allows you to pass a single list item value into a workflow variable but if you hack this into the aspx file as suggested, when ever you subsequently open design view and the workflow on the button again, all the hacks are removed by SPD.

I have tried this method and it seems to work for one variable, but I cant figure out how to pass more than one. Here is another post that is very similar but slightly different.

In this post Ibrahim said on April 1st 2008:

"I am having difficulty building a Javascript string for my particular requirement; SPD had already built a concat

SharePoint Designer workflow task - problem with multiple users selector in InfoPath form




I have got an issue with InfoPath form generated for my SharePoint Designer workflow task. There is a multiple users selector that requests users from a task assignee. The problem is that only the first user entered got saved.


I am using SharePoint 2010 Standard Server (release). Steps to reproduce are the following:

Closed form designer window in VS 2008, now cannot open again



I closed the Form1.Designer.vb tab in VS 2008.  If I click on Form1.vb in the Solution Explorer the View Designer button does not appear.  How can I open the designer window again?

SharePoint Designer: Sending parameters with "Navigate to Page" form action

I want to create a custom button in my SharePoint form that uses Form Actions that commit the changes in the fields and then navigate to a designated page.  This works very well.

Then I want to send a parameter with the URL, for example: http://.../customform.aspx?ID={@ID}.  SharePoint Designer offers this option, but I have not been able to make it work.  Every time it just sends the literal {@ID} instead of it's content.

Has anyone solved this issue?

SharePoint custom list form using MOSS designer



I have a requirement to create "Service Request" form for 3 types of users namely "End Users", "Reviewer" and "Manager".
End users will submit the request --> Reviewer will update the effort in man day --> Manager will approve the SR form. Assuming there are 10 different fields for each and the workflow and email is in place for each level.

I'm planning to use SharePoint 2007 custom list form.

1) What is the best approach to create Service Request form?
2) Can I use SharePoint Designer alone to achieve this OR Do I need Visual studio?
3) Is it one custom list form containing all the 30 elements (10 fields each) OR 3 different lists?

Please advice. Thanks.

Due to some reasons, we don't want to take InfoPath form; Instead Custom List form.


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend