Hi there,
I want to have two ad_forms working together. Well not quite together.
The scenario is when the user wants to add an item he goes to the respective ad_form.
Then in the middle of the ad_form attributes (elements), there is a link to take the user to another ad_form to add some info aside the first one.
What ad_form's element should i use to create a link in the midle of an ad_form?
Intuitivelly the element should be somehting like an action. But actions get the ad_form submited when executed.
I found something similar on calendar package. This simple ad_form has its own action button.
ad_form -name add-new-item-type -action item-type-new -has_submit 1 -form {
{calendar_id:text(hidden)
{value $calendar_id}
}
{type:text,nospell
{label "[_ calendar.New_Type]"}
{html {size 20}}
}
{btn_ok:text(submit)
{label "[_ calendar.add]"}
}
}
The diference is i don't want to submit the form.
I just want to take the user to another page with another ad_form, assuming he was in the first page with the first ad_form.
Then take the user back to the first ad_form after he has submited the second one.
Any clues how to figure it out?