Satya, Yes, you should be able to modify the 'initial-questions.jsp' to pre-check that option. It's just a matter of finding that HTML <input type='checkbox'> field in that file and specifying the "checked='checked'" attribute.
- Tim Satya Ranjan Sahu wrote: > Dear Tim & Dorothea, > Thank you very much for the reply. > > If it is not possible to remove citation field then it's ok. > > But I need by default the option "The item has been published or publicly > distributed before" in the first 'Submit: Describe this Item' to be check > marked. > > Is it possible to pre-check mark modifying the JSP file " > initial-questions.jsp"? > > Thanking you > With regards > Satya > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tim Donohue > Sent: Thursday, September 11, 2008 7:53 PM > To: Dorothea Salo > Cc: DSpace > Subject: Re: [Dspace-tech] Removing citation field in input-forms.xml > (Dspace - 1.4.2) > > Satya, > > Dorothea Salo wrote: >> On Thu, Sep 11, 2008 at 7:46 AM, Satya Ranjan Sahu <[EMAIL PROTECTED]> wrote: >>> Hi all, >>> >>> I am trying to remove some fields in input-forum.xml of a > DSpace >>> 1.4.2 installation. But when I am trying to remove 'citation' field, it > is >>> showing internal error. >>> >>> And it should be checked by default the option "The item has been > published >>> or publicly distributed before" in the first 'Submit: Describe this Item' >> Short answer: In 1.4.2, you are stuck. You CANNOT have the "published >> before" box checked and *not* have the Citation field. I can't think >> of a way to hide the field with CSS, because there's no way to put a >> class or ID attribute on it, is there? >> >> Longer answer: >> >> The "published before" checkbox adds dc.date.issued, dc.citation, and >> dc.publisher to the next form page when it is checked. This creates a >> lot of bad and opaque interactions, the one you cite among them. Even >> worse, if you add a default value to the collection for one of those >> three fields, but the hapless depositor doesn't check the "published >> before" checkbox, DSpace pitches a (completely incomprehensible) blue >> fit at the depositor. > > Dorothea's right...DSpace 1.4.2 does require the "citation" field if you > check that "The item has been published ..." option on the first page. > >> (This got me in trouble with a custom thesis form, which does need >> dc.date.issued despite unpublished status. That's when *I* pitched a >> blue fit.) >> >> Tim, do you want to comment on how you've gotten around this issue in 1.5? > > I actually cannot claim to ever have gotten around this issue in DSpace > 1.5. DSpace 1.5 does have the configurable submission, which will > allow you to remove that first "initial questions step" (which asks > whether an item has been published before). However, I believe in 1.5 > if you want to have that "initial questions step", you are still > required to have that "citation" field whenever that "The item has been > published..." option is checked. Someone should definitely correct me > if I'm wrong. > > The route we've gone is to remove that "initial questions step" > altogether (and create a custom initialization step to default all the > answers to being checked all the time). However, we still include that > "citation" field on our later metadata step. I admittedly haven't tried > to remove that "citation" field altogether...so, I don't know if that in > itself could still cause issues in 1.5? > > - Tim > > > > > > >> Dorothea >> > -- Tim Donohue Research Programmer, Illinois Digital Environment for Access to Learning and Scholarship (IDEALS) University of Illinois at Urbana-Champaign [EMAIL PROTECTED] | (217) 333-4648 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech