we have datacapture.cfg file in teamsite.in live site we have components with 3 fields, Appearance xsl/Appearance XML and content XML. can we divide the xml and validations in live site comonent just like we do with html and javascript. I mean i would write the xml in content xml and just include a JS file somewhere in the datum and write all the validation code in that Javascript file.anyone has any idea about this.
thanks. but as we do an onclick or onsubmit for HTML elements.how can we acheive this in for the xml nodes in content xml
3) In Content XML where you want to place the validation ? I do not want to mix data with valiation.so i just want to add the function call in content XML.
4) If you are using DCR Datum Type then,you have to include the js at datacapture.cfg to validate the data at the time content contributor enters it. how can we do this.please advise.