On Fri, 05 Sep 2014, Ricceri Rita wrote:
> I would like to insert the DEMOART_AF element (textarea element - tag
> 100__u) in the submitting-upload form, but the value is not stored in
> the database.

Is this a new element that you introduced?  Have you put it well
everywhere, database and templates?  You can follow an existing example
to check whether you have it configured in all needed places, for
example look at `DEMOART_NUMP`.

modules/miscutil/demo/democfgdata.sql:INSERT INTO sbmFIELD VALUES 
('SBIDEMOART',1,5,'DEMOART_NUMP','<br /><br />Number of 
Pages:&nbsp;','O','Number of Page,'
','2008-03-07','2008-03-07',NULL,NULL);                                         
                                                                            
modules/miscutil/demo/democfgdata.sql:INSERT INTO sbmFIELDDESC VALUES 
('DEMOART_CHANGE',NULL,'','S',NULL,NULL,NULL,NULL,NULL,'<select 
name=\"DEMOART_CHANGE\"
 size=\"8\" multiple>\r\n <option value=\"Select:\">Select:</option>\r\n 
<option value=\"DEMOART_REP\">Other Report Numbers</option>\r\n <option 
value=\"DEMO
ART_TITLE\">Title</option>\r\n <option 
value=\"DEMOART_AU\">Author(s)</option>\r\n <option 
value=\"DEMOART_LANG\">Language</option>\r\n <option value=\"DEMOA
RT_KW\">Keywords</option>\r\n <option 
value=\"DEMOART_ABS\">Abstract</option>\r\n <option 
value=\"DEMOART_NUMP\">Number of Pages</option>\r\n</select>','2008
-03-07','2008-03-07',NULL,NULL,0);                                              
                                                                            
modules/miscutil/demo/democfgdata.sql:INSERT INTO sbmFIELDDESC VALUES 
('DEMOART_NUMP',NULL,'300__a','I',5,NULL,NULL,NULL,NULL,NULL,'2008-03-07','2008-03-07'<
br />Number of Pages:&nbsp;',NULL,0);                                           
                                                                            
modules/websubmit/etc/DEMOART.tpl:DEMOART_NUMP---<:DEMOART_NUMP:>
modules/websubmit/etc/DEMOARTcreate.tpl:300::REPL(EOL,)::MINLW(82)---<datafield 
tag="300" ind1=" " ind2=" "><subfield code="a"><:DEMOART_NUMP::DEMOART_NUMPIF
(,mult. p,ORIG):></subfield></datafield>                                        
                                                                            
modules/websubmit/etc/DEMOARTmodify.tpl:300::REPL(EOL,)::MINLW(82)---<datafield 
tag="300" ind1=" " ind2=" "><subfield code="a"><:DEMOART_NUMP::DEMOART_NUMP</
subfield></datafield>                                                           
                                                                            

> Another problem...  How can I implement in the submitting-upload form
> the affiliation of the second author (tag 700__u)?

Would you like to add a new affiliation box to the UI, or would you like
use a shortcut technique where people would be submitting something
structured like:

    Doe, John---University of Foo
    Doe, Jane---University of Bar

and the submission would parse these for you?  

IIRC Invenio demo submission templates do not come with this out of the
box, but you could perhaps take inspiration from existing submission
forms of some services, such as CDS.

Best regards
-- 
Tibor Simko

Reply via email to