I have a list with Lookup field. In Newform, i want filter Lookup field.
I use SPD, and created a new NewForm, then i deleted Lookup field and add a new dropdown list but i don't know how to add a datasource for it?
I don't want use SPServices.
How to filterd lookup field?
Edit:
look at the jQuery library for SharePoint, SPServices
I use this code :)
$().SPServices.SPFilterDropdown({
relationshipList: "Countries",
relationshipListColumn: "Title",
columnName: "Country",
CAMLQuery: "<Eq><FieldRef Name='Active' /><Value Type='Boolean'>1</Value></Eq>",
completefunc: null,
debug: false
});