Tommi, I added another submit button called "modify",
but in the <%cpp> section it is unknown (error: ‘modify’ was not declared in
this scope).
How to fix that?
...
else if (!modify.empty())
{
// test
myVector[currentPos] += 5;
}
if (currentPos >= myVector.size())
return HTTP_OK;
</%cpp>
...
<form>
<input type="submit" name="first" value="first">
<input type="submit" name="previous" value="previous">
<input type="submit" name="next" value="next">
<input type="submit" name="last" value="last">
<input type="submit" name="modify" value="modify">
</form>
------------------------------------------------------------------------------
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general