Dialog or Form
- Willi Quintana
- Posts: 1023
- Joined: Sun Oct 09, 2005 10:41 pm
- Location: Cusco - Perú
- Contact:
Dialog or Form
Hello friends.
How to create a dialog with data for Registrations and Modifications with mod_harbour
How to create a dialog with data for Registrations and Modifications with mod_harbour
-
- Posts: 58
- Joined: Mon Jan 19, 2009 4:40 pm
- Otto
- Posts: 6396
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 8 times
- Been thanked: 1 time
- Contact:
Re: Dialog or Form
Hello Willi,
Should it look like this, and how would you like to get your data. GET,POST, SESSION object?
What would you like to do then?
Best regards,
Otto
Should it look like this, and how would you like to get your data. GET,POST, SESSION object?
What would you like to do then?
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Willi Quintana
- Posts: 1023
- Joined: Sun Oct 09, 2005 10:41 pm
- Location: Cusco - Perú
- Contact:
- Otto
- Posts: 6396
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 8 times
- Been thanked: 1 time
- Contact:
Re: Dialog or Form
Hello Willi,
Here you can test the form.
https://www.modharbour.club/formtest/in ... my+telfono
If you press button "ACCEPT" you see that the form is send and the values are attached to the link.
indexFormMyTemplate.prg?nombre=Willi&apellidos=mytestapellidos&direccion=my+direccion&correoelectronico=my+correo&telefono=my+telfono
Please let me know what you need next.
Best regards,
Otto
1) create a test folder on your server and insert a template mod harbour program
index.prg
2) go to https://www.w3schools.com/html/html_forms.asp
Here you have instructions on how to build a form
Copy the source tag <form></form> into your mod harbour template
4) Add your fields
If you want as in your screen SAY and GET in a single line:
delete <br> ( same as CRLF in Fivewin ) between <label > ( same as SAY in Fivewin ) and <input> ( same as GET in Fivewin )
5) Add buttons
Here you can test the form.
https://www.modharbour.club/formtest/in ... my+telfono
If you press button "ACCEPT" you see that the form is send and the values are attached to the link.
indexFormMyTemplate.prg?nombre=Willi&apellidos=mytestapellidos&direccion=my+direccion&correoelectronico=my+correo&telefono=my+telfono
Please let me know what you need next.
Best regards,
Otto
1) create a test folder on your server and insert a template mod harbour program
index.prg
2) go to https://www.w3schools.com/html/html_forms.asp
Here you have instructions on how to build a form
Copy the source tag <form></form> into your mod harbour template
4) Add your fields
If you want as in your screen SAY and GET in a single line:
delete <br> ( same as CRLF in Fivewin ) between <label > ( same as SAY in Fivewin ) and <input> ( same as GET in Fivewin )
5) Add buttons
Code: Select all | Expand
function main
TEMPLATE
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
<form>
<label for="nombre">Nombre:</label>
<input type="text" id="nombre" name="nombre"><br>
<label for="apellidos">Apellidos:</label>
<input type="text" id="apellidos" name="apellidos"><br>
<label for="direccion">Direccion:</label>
<input type="text" id="direccion" name="direccion"><br>
<label for="correoelectronico">Correo electronico:</label>
<input type="text" id="correoelectronico" name="correoelectronico"><br>
<label for="telefono">Telefono:</label>
<input type="text" id="telefono" name="telefono">
<br>
<br>
<br>
<input type="reset" value="Cancel" >
<input type="submit" value="Accept" >
</form>
</body>
</html>
ENDTEXT
return
//----------------------------------------------------------------------------//
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
-
- Posts: 58
- Joined: Mon Jan 19, 2009 4:40 pm
Re: Dialog or Form
Otto,
Great, I like your detail samples, It's so easy!!!
We appreciate your samples
Best Regards
Osvaldo Ramirez
Great, I like your detail samples, It's so easy!!!
We appreciate your samples
Best Regards
Osvaldo Ramirez
- Otto
- Posts: 6396
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 8 times
- Been thanked: 1 time
- Contact:
Re: Dialog or Form
Osvaldo, I uploaded my "Table | CRUD - create, read, update, and delete" sample.
You can test the sample here:
https://www.modharbour.club/ajaxtablecrud_dbf/crud_dbf.prg
Here you can download the source code.
https://www.modharbour.club/ajaxtablecrud_dbf/ajaxTableCRUD_DBF.zip
https://mybergland.com/fwforum/crud%20dbf.pdf
Best regards,
Otto
You can test the sample here:
https://www.modharbour.club/ajaxtablecrud_dbf/crud_dbf.prg
Here you can download the source code.
https://www.modharbour.club/ajaxtablecrud_dbf/ajaxTableCRUD_DBF.zip
https://mybergland.com/fwforum/crud%20dbf.pdf
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
-
- Posts: 121
- Joined: Fri Feb 15, 2019 1:37 pm
- Location: Aracataca-Colombia
Re: Dialog or Form
hello otto,
I need to download these sources to practice, but the link does not work
I need to download these sources to practice, but the link does not work
- Otto
- Posts: 6396
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 8 times
- Been thanked: 1 time
- Contact:
Re: Dialog or Form
Hi Adolfredo,
I have changed the link as there was no interest at all.
I'll send you the link via a private message on FB.
Best regards,
Otto
I have changed the link as there was no interest at all.
I'll send you the link via a private message on FB.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
-
- Posts: 121
- Joined: Fri Feb 15, 2019 1:37 pm
- Location: Aracataca-Colombia
Re: Dialog or Form
Thank you otto, I already downloaded it, it is possible that you can provide me with the habourino tool on FB to practice and get ahead.
- Otto
- Posts: 6396
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 8 times
- Been thanked: 1 time
- Contact:
Re: Dialog or Form
Hello Adolfredo,
Is the sample working on your system?
Sure, I will give you access to Harbourino.
I write you on FB in the afternoon. We have a holiday today.
Best regards,
Otto
Is the sample working on your system?
Sure, I will give you access to Harbourino.
I write you on FB in the afternoon. We have a holiday today.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
-
- Posts: 465
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
- Contact:
Re: Dialog or Form
http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
- Otto
- Posts: 6396
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 8 times
- Been thanked: 1 time
- Contact:
Re: Dialog or Form
Hello Shuming,
I am glad to hear from you.
I would be happy to send you the link.
Please see your email.
Please let me know if the program works for you.
If you have any questions, please just post here.
With kind regards
Otto
I am glad to hear from you.
I would be happy to send you the link.
Please see your email.
Please let me know if the program works for you.
If you have any questions, please just post here.
With kind regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Otto
- Posts: 6396
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 8 times
- Been thanked: 1 time
- Contact:
Re: Dialog or Form
Hello Adhemar,
please see your email.
Best regards,
Otto
please see your email.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************