Xara Designer Pro X / Text Entry Field?
Hello!
I need a text box as input field.
Then I have to evaluate the field ...
Example:
Text: 112 -> open link to a specific page
Text: 234 -> open another page
and so on ...
Is that possible ?
Does anyone have an example for me?
Best Greetings
Bernd
Re: Xara Designer Pro X / Text Entry Field?
Welcome to TalkGraphics
Does this question relate to web design? And if yes, I will move this to the web design chat forum.
1 Attachment(s)
Re: Xara Designer Pro X / Text Entry Field?
Re: Xara Designer Pro X / Text Entry Field?
OK. If I enter the words, Chickens, then I will go to a new page called Chickens?
Re: Xara Designer Pro X / Text Entry Field?
Nearly :-)
Enter 123 = MyPageXYZ
Enter 223 = Page223
Enter 339 = NewInfo339
Re: Xara Designer Pro X / Text Entry Field?
Got it. Just link the text to the page.
Visitor clicks 123. Link takes visitor to MyPageXYZ.
You can also have a sub-menu for a Navigation Bar. The sub-menu can have a list of all the pages in that category.
Re: Xara Designer Pro X / Text Entry Field?
I think BerndR want a single cell that visitors type in, not a drop down box. As in 'go to page:'
Re: Xara Designer Pro X / Text Entry Field?
Quote:
I think BerndR want a single cell that visitors type in, not a drop down box. As in 'go to page:'
Maybe a SEARCH box? https://www.talkgraphics.com/showthr...460#post512460
Re: Xara Designer Pro X / Text Entry Field?
I Need a TextBox where someone type in a number...
Not a DropDown List or something else...
Only a TextBox as Input Field and then go forward with the Number to a Fix Link...
See the first note....
Re: Xara Designer Pro X / Text Entry Field?
I haven't tested but this is a PHP solution(you will need to add the .php extension to your page name) going by your last example paste this code in the head section(placeholder > html(head)) of your page.
PHP Code:
<php?
if(isset($_GET['page']) {
$page = $_GET['page'];
if($page == '123') {
$page = 'MyPageXYZ';
}
if($page == '223') {
$page = 'Page' . $page;
}
if($page == '339') {
$page = 'NewInfo' . $page;
}
header('Location: {$page}.htm');
}
?>
Create a rectangle where you want the input to show and go to placeholder > html(body) and paste the following
HTML Code:
<form method="get">
<input type='text' name='page'>
</form>
If PHP doesn't suit there is likely a JS option but I don't know it off hand, I'd have to look it up.