Hi Yoren, Saul, thank you for your answer, I will read the code and try to filter informations that could help me for my enterprise. Thanks again for your spontaneous answer. ErnstJo
On Feb 26, 7:22 pm, Yaron Koren <[email protected]> wrote: > That's interesting - I guess the idea is to enforce uniqueness of a certain > property, the same way OWL does (and maybe RDF too, I don't know). I always > figured the best approach to such a thing would be to wait until SMW allows > for defining uniqueness (maybe through a new special property like "Is > unique", applied to a regular property), and then enforce that in the forms. > But then again, it might be a long time before such a thing gets added to > SMW, so it might be reasonable to just do it directly in SF for now. > > Having action="" means that the form submits to the same page it's located > on. Maybe you should read up on HTML forms before going any further... or > just read through the SF code; everything might make more sense then. > > -Yaron > > > > On Thu, Feb 26, 2009 at 12:29 PM, <[email protected]> wrote: > > > Hi, > > I am new in this forum and have, like all of you a deep interest into > > semantic wiki. > > I am a student in computational linguistic at the university of > > Heidelberg in Germany and write my master thesis in the field semantic > > wiki. > > In the scope of my master thesis I want to develop an additional > > fonctionality to semantic form with the purpose the identification in > > a form of a already available attributvalue. > > I explain, for example I have in my wiki the property "link" for a > > form"webservice" and I want to warn a user if he tries to put a same > > link-value that has already been saved/used. > > My reflection is, before a user saves the formular, there should be a > > previous step, which is the controll in the database whether the > > attributs the user entered already exist in the database or not.If the > > given value already exists in the database, the user should receive a > > warning and the form will not be saved. > > My problem: I would like to know how to implement that. > > Where can I find the code, that run when I save the form? > > Here is an extract of the tag_form: > > <form name="createbox" onsubmit="return validate_all()" action="" > > method="post" class="createbox">, > > the property "action" has not value, i don't undertand why? > > > Thank you in advance for your help, > > > ErnstJo- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
