logo
Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Sjarl  
#1 Posted : Tuesday, April 21, 2009 12:54:18 PM(UTC)
Sjarl

Rank: Sienn Developer

Reputation:

Groups: Administration
Joined: 10/8/2008(UTC)
Posts: 23

The definition of the parameters for using a formcontrol:

{!$Control.46.<Formid>.<Request>.<Query>.<Default>.<Multiformempty>.<Tabindex>.<Orderby>.<Ajaxenabled option>$!}

Note: Use within parametervalues use | instead of a .

<Formid>
The formid has to be in 2 digits.

<Request>
"INSERT" add record (default)
"WIJZIG" edit record
"DEL" delete record
"MWIJZIG" multi edit records

<Query>
The selection for MWIJZIG request.

<Default>
Default values for fields.

<Multiformleeg>
Number of empty forms within a MWIJZIG request (default is 1)

<Tabindex>
Tabindex number

<Orderby>
Order by for the Query, within a MWIJZIG request

<Ajaxenabled option>
AjaxEnabled: View is AjaxEnabled


Edited by user Tuesday, April 21, 2009 1:02:56 PM(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your Sienn Forum forum account. New Registrations are disabled.

Jop  
#2 Posted : Friday, August 31, 2012 1:39:51 PM(UTC)
Jop

Rank: Sienn Moderator

Reputation:

Groups: Administration, Member
Joined: 9/11/2009(UTC)
Posts: 6

Example of setting a default in a field (field==actie, value ==Ja)
{!$Control.46.16.INSERT.where 1=1.actie=Ja$!}

Edited by moderator Friday, September 20, 2013 9:35:56 AM(UTC)  | Reason: Not specified

bart  
#3 Posted : Tuesday, March 5, 2013 2:34:19 PM(UTC)
bart

Rank: Administration

Reputation:

Groups: Administration
Joined: 10/8/2008(UTC)
Posts: 188
Man

Was thanked: 1 time(s) in 1 post(s)
Is is also possible to add some of these paramaters in the URL.

you can use
Code:
http://www.sienn.com/Basis.aspx?Lid=2&Lit=FORMULIER&REQUEST=WIJZIG&Query=Id=3

to modify record 3 and not add them again

you can use
Code:
http://www.sienn.com/Basis.aspx?Lid=2&Lit=FORMULIER&REQUEST=INSUP

to let a user modify there own record,
if a user isn't logged in a new record will be created. (off course you can check weblogin if you don't want new records)

Edited by moderator Friday, September 20, 2013 9:33:11 AM(UTC)  | Reason: Not specified

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.