Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-18-2008, 09:03 AM
Intermediate Member
 
Posts: 22
Default required field

Hi,
I'm deploying a zimlet that insert metadata at documents with this code
var titleS = document.createElement ("span");
titleS.className = "Yflickr_hLeft";
titleS.appendChild (document.createTextNode ("Title (Necessary): "));
var titleI = document.createElement ("input");
titleS.appendChild (titleI);

var filenameS = document.createElement ("span");
filenameS.className = "Yflickr_hLeft";
filenameS.appendChild (document.createTextNode ("Filename (Necessary): "));
var filenameI = document.createElement ("input");
filenameS.appendChild (filenameI);

so i've the two metadata, title and filename.

I want that the insert of metadate is required (now it's possbile null field)

how do this?

thank's
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.