Populate fields with URL arguments?

I’m trying to figure out a few things regarding Domino and web-development. One of the things is how to (easily) populate fields in forms on the web.

What I found would be the smartest way, was something like this (example):

Create a form (‘information’) and on this form have a field called ‘language’. I would then open the form with the following URL: www.myserver.com/main.nsf/information&language=en and expect the field ‘language’ to be populated with the value “en”.

This does not happen, although it would be very logical if it did. Am I missing something here?

The only way I could get it to work was to parse the contens of Query_String with all kinds of “@left…” formula. Is that really the only way?

Regards,

Hans

Subject: Populate fields with URL arguments?

if you are using notes 6 then use the @UrlQueryString command it does it rather nicely.

Subject: Thanks guys! Didn’t realize it was that easy! Your help is very apreciated!!

Subject: Populate fields with URL arguments?

The @UrlQueryString(“language”)should be the right way to go!

Subject: RE: Populate fields with URL arguments?

Why oh why do they not have this in lotusscript? I never noticed this or I probably would have tried to use it with Evaluate. Instead I wrote my own class to handle it. I mean hey, now I’ve got a class I control to do this, but still. Annoying. :slight_smile: