Curbside Field

You can change the title of the fields and add the mandatory ones.
The only required field is the color of the vehicle.
The parameter must be used for each title.
Each parameter requires field, required and text. Example: curbsideField=comment,true,info%20additional

Specific configuration parameters

Parameters libParameters webDescription
curbside.fields.ColorcurbsideField=colorParameter used to change the title of the vehicle's color.

- Required: true
- Default: Vehicle color
curbside.fields.PlatecurbsideField=plateParameter used to change the title of the plate number.

- Required: true or false
- Default: Plate number
curbside.fields.LocationcurbsideField=locationParameter used to change the title of the Parking location.

- Required: true or false
- Default: Parking location
curbside.fields.NamecurbsideField=nameParameter used to change the title of the receiver's name.

- Required: true or false
- Default: Receiver's name
curbside.fields.CommentcurbsideField=commentParameter used to change the title of the additional information.

- Required: true or false
- Default: Additional information

Usage Example


Consider the following examples:

Curbside field

Note: Not change the example

<!DOCTYPE html>
<head>
    <title>LSW v3 Embed</title>
</head>
<body>
    <div id="instaleap-lsw-v3"></div>
</body>

<script src="https://xandar-lsw-v3.instaleap.io/lib/status.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        curbside:{
            fields:[
              { field: "color",label:"moto Color",required: true },
             	{ field: "plate", required: false, label: "Sotano piso" },
             	{ field: "name", required: false, label: "Nombre receptor" },
             	{ field: "location", required: false, label: "Lugar estacion" },
             	{ field: "comment", required: false, label: "info adicional" }
            ]
        }
    }
    window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&curbsideField=color,true,moto%20Color&curbsideField=plate,true,Sotano%20Piso&curbsideField=name,true,Nombre%20receptor&curbsideField=location,true,Lugar%20estacion&curbsideField=comment,true,info%20adicional