<input name="somename" value="somevalue">) through LotusScript?
To make my question clear, here is one of Dave Hatter's responses from SearchDomino.com to a similar question.
This question is regarding Domino Development. I want to create a set of fields on the fly for input in a form if the user clicks an action button.
On the Web, this is fairly simple. You can create a LotusScript or Java agent that dynamically generates the HTML for the page. I use this particular approach all the time.
One way to manage this is by generating HTML that contains two <FORM> tags. For instance, let's say your dynamically generated HTML is a table with three columns and an indeterminate number of rows. The field names are of the form A1, B1, C1, A2, B2, C3 and so on. Since there are no such fields on the Notes form, you want to store the data in the multivalue fields A, B and C in the document. In the default form that Domino creates in the HTML, you include hidden fields A, B and C (either via passthru or by selecting the form option to "generate HTML for all fields"). Then you use passthru to put out a </FORM> tag, and follow that with a new <FORM> tag that is set up such that the user cannot submit it. After that, put your dynamically generated fields, then a </FORM>.
Another alternative is to have just one
Dig Deeper on LotusScript
Related Q&A from Andre Guirard
Learn how you can use LotusScript and OLE to create and populate Microsoft Excel spreadsheets, as well as a little bit about Lotus Symphony. Continue Reading
Discover options you can use if you'd like external users to be able to access a workflow-based Notes Domino application through different ... Continue Reading
When Notes/Domino developers say they want to "update the fields" in tha Lotus Notes view, they usually mean that they want to cause computed fields ... Continue Reading