URL to go straight to ADD mode

Discuss everything related to ApPHP DataGrid Wizard utility. All versions. Any questions related to the ApPHP DataGrid Wizard developing or using should be posted to this forum.

Moderator: alexandrleonenko

Lonestarjack
Senior
Senior
Posts: 41
Joined: Dec 24th, '11, 13:54

URL to go straight to ADD mode

Postby Lonestarjack » Oct 7th, '13, 17:07

Is there any URL parameter that will take me directly to the ADD mode?

Code: Select all

'http://mysite.com/phpdgw_232/pages/bills_lawn.php'

administrator
Site Admin
Site Admin
Posts: 6009
Joined: Jan 7th, '09, 23:18
Contact:

Re: URL to go straight to ADD mode

Postby administrator » Oct 8th, '13, 06:43

Where exactly? in DataGrid or Grid wizard?

In dataGrid it's:
http://www.apphp.net/forum/viewtopic.php?f=33&t=263

Lonestarjack
Senior
Senior
Posts: 41
Joined: Dec 24th, '11, 13:54

Re: URL to go straight to ADD mode

Postby Lonestarjack » Oct 30th, '13, 15:08



Lonestarjack
Senior
Senior
Posts: 41
Joined: Dec 24th, '11, 13:54

Re: URL to go straight to ADD mode

Postby Lonestarjack » Nov 1st, '13, 12:04

Unfortunately adding

?prefix_mode=edit&prefix_rid=19
or
?prefix_mode=add&prefix_rid=1

to the end of the URL
throws "Wrong parameters were passed!"

administrator
Site Admin
Site Admin
Posts: 6009
Joined: Jan 7th, '09, 23:18
Contact:

Re: URL to go straight to ADD mode

Postby administrator » Nov 3rd, '13, 07:21

For add mode it must be -1 (minus 1), also check you use the GET postBack type.

http://domain.com/page.php?prefix_mode= ... fix_rid=-1


Return to “ApPHP DataGrid Wizard {developers/users}”