Hi Max & Bob,
I am wanting to pass the id paramater of a record to a url in order to have a link which will open an edit form in a modal window. I am struggling to pass the id paramater into the html code. The lines below are what I have tried.
I have also tried doing it with {job_view.id} as well directly in the html but that also doesn't parse.
Any hints on where I am going wrong?
The bigger picture on the project is a single form which is used to populate the db I then use CC to display the record, depending there are 4 areas on the CC view that are editable, depending on who is logged on it depends on what they can edit.
This means there are an additional 4 edit forms which depending on which edit link is visable depends on the edit form they are presented with. This means they only edit the data that they can see.
I can almost see the light at the end of the project....
Regards,
Dave
I am wanting to pass the id paramater of a record to a url in order to have a link which will open an edit form in a modal window. I am struggling to pass the id paramater into the html code. The lines below are what I have tried.
<?php
$id = ['job_view']['id'];
?>
<a href="/jobs/new-job-data?cont=lists&ccname=JobView&act=edit&gcb=<?php echo $id; ?>" >
I have also tried doing it with {job_view.id} as well directly in the html but that also doesn't parse.
Any hints on where I am going wrong?
The bigger picture on the project is a single form which is used to populate the db I then use CC to display the record, depending there are 4 areas on the CC view that are editable, depending on who is logged on it depends on what they can edit.
This means there are an additional 4 edit forms which depending on which edit link is visable depends on the edit form they are presented with. This means they only edit the data that they can see.
I can almost see the light at the end of the project....
Regards,
Dave