fields

Cannot get a list of valid users in TFS for AssignedTo field while creating new Workitems via API

Hi I am trying to create new workitems via the TFS API and this is the method I have used below to get a list of valid users who can be assigned workitems. Somehow, it gives me a null reference exception on validUserSids line. Anyone know what's wrong here? Thanks Tara. private string[] TFSUsers(string server) { // Get a Re...

Cannot add new Workitems using TFS API

Hi I am trying to add new workitems to the TFS repository using the API, but when I validate the workitem before it is saved, it returns an error. I previously got exceptions regarding the field definitions for a bug namely, Symptom, Steps to Reproduce and Triage. (Error code TF 26027). The code snippet is shown below: Can anyone tell me...

nhibernate 'virtual' fields

I want to have a 'virtual' (not there, not to be confused with the virtual keyword) field in a nhibernate class. I have a securities table and I want to have a 'virtual' field that uses another field to return a flag. I have added a calculated field in the db_securities table nhibernate class: public class DB_Securities { ...

change the return of to_param by action? or, terribly broken edit action if perma-url is returned instead of id..

I did some stuff to have to_param return a perma-url so I'd have seo friendly links. Upon creation and update it will generate and return the perma-url in a to_param method that I put in the model. However this causing me some grief in other areas. I have a form that looks like this: <% @apps.each do |app| %> <% fields_for "[id][...

dynamically generting fields using jquery and also making them serverside on asp.net

Hi this may seem like a weird question, but here's my situation: I have a form where the user can click and add rows which contain certain input fields. This is strictly done on client side using JQuery. I can access the input values on postback on asp.net side using Request.Form and the name of the fields, which is fine. The problem...

Sharepoint Document Upload Page - Passing URL Variables?

Throughout my SharePoint site, I have several document repositories that are tied to primary keys from an external database. I have added custom columns in the document library metadata fields so that we will know which SharePoint documents correspond with which table entries. As a requirement, we need to have document uploads that hav...

Let the user design a form and the fields in it

I am developing an application in which I would like to let the users design some forms and decide the fields that are in the form. An example is better than a poor explanation, so let me put the example of Microsoft CRM in which you as end user can define a form, the fields in that form, or customize existing forms by adding or removin...

form fields clear ???

i want to clear the fields of my form after the user has inserted the data in the database .I have provided a button for that but how to do that please tell me Thanks Ritz ...

Content Taxonomy along with Conditional Fields

I'm still young at Drupal.So please correct me wherever needed. I have a requirement wherein I want my content type to have my own fields (achieved with CCK), then I want one of the fields to be a selectable drop down and each drop down value should actually categorize them so that each type can come on separate page. This I managed wit...

Silverlight 3 Dataform - how to add fieds at runtime.

I am creating a DataForm from dynamic data (so I can't create the columns in the xaml), I currently create columns for my DataGrid (I have not worked out how I can create a button + event in a colomn yet) foreach (var item in headings.Entities) { theDataGrid.Columns.Add( ...

Echoing a string that contains PHP (in WordPress)

I have a custom field in WordPress called "thumb-url" which contains the exact location of an image. I want to only display the image if "thumb-url" contains the location of the image. I'm start with an if statement that echoes photo exists if there's a value in the "thumb-url" custom field, otherwise it does nothing. <div class="excer...

Naming form fields in a web page

How do you name your field names in a web page without revealing the structure of your database tables? ...

ExtJS loop through form fields that got a specified name

Hello. I'm using ExtJS 3. I have a formPanel with many "cloned" fields and I gave every field the name "price[]". After submit I would like to loop through every field that has the name "price[]" and get their values one at a time to be checked against something in the database. Note: there are other fields in this form so that's why I ...

Using jQuery to dynamically add form fields (or fieldsets) based on a dropdown box value

Hi, As the title says, what I am trying to do is to have jQuery add a number of extra fieldsets based on the value selected in a drop-down box. For example, when the page loads, the drop-down has a default value of 1, and the default fieldset is displayed. Now, if the user selects a different value in that drop-down, the number of field...

How to show or hide the next div based on all the form fields of the previous div being filled or not!

I have a form with many divs inside. Each div is categorized and has various fields to be filled up by the user. I want to have a flow here so that the user can fill the fields in the second div only after filling the fields in the first div. In short show the second div after filling the fields in the first div and so on. I tried using...

making a text field required in objective-c

I'm currently in the process of developing an app for the iPhone. There is a screen which requires users to enter their data in text format but it can easily be skipped by simply clicking the 'submit' button. Is there a way I can make these text fields required? ...

Friend WithEvents in VB vs private in C#

Hello, friends Who knows, why in vb.net WinForm projects the designer by default use the Friend WithEvents attributes and in C# - private ones. By ex, in a form.designer. .cs private Label Label1; .vb Friend WithEvents Label1 as Label; For WithEvents is more or less clear(for using Handles, apparently). But why Friend in VB and ...

matching fields in a database, ASP.net (VB)

In a table I have news posts with these fields: Title Content OwnerID And a users table ID Name Surname The OwnerID relates to the ID in the users table, how can I get the name of the user who's ID matches the OwnerID? I'm writing a website in ASP.net (VB). ...

List of countries in a combobox

I want to populate the contents of a combobox with country names/flags reading from a database table. I want the first item to represent no selection. (The user may not know the country info during first insert) Should I include an item for this in db. Or should I add an item representing the no-select to the array in the code. Which app...

C++ creating variations of classes with different combinations of fields

hi! templates allow in c++ to automatically create a lot of classes with the same interface, but different data stored. i'm looking for something similar (i don't know whether it exists, that's why I ask here) that automatically creates for me variations of an object storing only a subset of the datamembers. let's say i have a class ...